help me to find post order traversal of tree if preorder and inorder are
given... please give program
On Wed, Mar 2, 2011 at 1:47 AM, bittu wrote:
> You have a five quart jug and a three quart jug, and an unlimited
> supply of water (but no measuring cups). How would you come up
first take water with 3 quart jug and pour into the 5 quart jug ,in the same
way once again do it , this time u left with one quart in 3 quart jug and 5
quarts in 5 quart jug.pour out the water in 5 quart jug and shift the one
quart from 3 quart jug to five quart jug.finally u take 3 quarts with 3
You have a five quart jug and a three quart jug, and an unlimited
supply of water (but no measuring cups). How would you come up with
exactly four quarts of water?
NOTE: The jugs are oddly shaped, such that filling up exactly ‘half’
of the jug would be impossible.
Thanks & Regards
Shashank Mani