WalzoneInterview Prep
📞 Interviewing soon? Practice with a realistic AI mock phone interview — it calls you, then scores you. First 15 min FREE →

Wall Street Quant · Puzzles & Problems · question 39 of 155

You have a 5-liter jug and a 3-liter jug. How can you measure exactly 4 liters of water using only these two jugs?

📕 Buy this interview preparation book: 155 Wall Street Quant questions & answers — PDF + EPUB for $5

The Water Jug Problem can be solved using the following steps:

1. Fill the 3-liter jug.

2. Pour the 3 liters from the 3-liter jug into the 5-liter jug.

3. Fill the 3-liter jug again.

4. Carefully pour the water from the 3-liter jug into the 5-liter jug, filling it to the top. There will be only 2 liters of space available in the 5-liter jug, so after doing this, you’ll have 1 liter left in the 3-liter jug.

5. Empty the 5-liter jug.

6. Pour the remaining 1 liter from the 3-liter jug into the 5-liter jug.

7. Fill the 3-liter jug again.

8. Pour the entire 3 liters from the 3-liter jug into the 5-liter jug which already contains 1 liter.

Now you have exactly 4 liters in the 5-liter jug:


L (from 3L jug) + 3 L (from full 3L jug) = 4 L

Reading is step one. Saying it out loud is the interview. Our AI interviewer calls your phone and runs a realistic Wall Street Quant interview — then scores it.
📞 Practice Wall Street Quant — free 15 min
📕 Buy this interview preparation book: 155 Wall Street Quant questions & answers — PDF + EPUB for $5

All 155 Wall Street Quant questions · All topics