There are 3 magical wells. Any input quantity of water we provide the 1st
well is returned double (of this double, half is kept inside the well, and
the other half is used as input to the 2nd well).
The 2nd well also returns double the quantity of its input (of which half is
kept inside the well, and the other half is used as input to the 3rd well).
Same goes with the 3rd, but its half output is the remainder (other half
being kept inside the well). Now what input should we provide in the 1st
well, so that the remainder at the end comes out to be zero?

(Asked in classroom coaching of T.I.M.E.)
-- 
Nikhil Gupta
Senior Co-ordinator, Publicity
CSI, NSIT Students' Branch
NSIT, New Delhi, India

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to