Answer:
Fill the 3-liter bottle and pour it into the empty 5-liter bottle.
Fill the 3-liter bottle again, and pour enough to fill 5-liter bottle. This leaves exactly 1 liter in the 3-liter bottle.
Empty the 5-liter bottle; pour the remaining 1 liter from the 3-liter bottle into the 5-liter bottle.
Fill the 3-liter bottle and pour it into the 5-liter bottle. The 5-liter bottle now has exactly 4 liters.
Asked In: Many Interviews |
Alert Moderator