<ol>
<li>Empty the small jug.</li>
<li>Fill the large jug.</li>
<li>Use the large jug to fill the small jug. This leaves 2L in the large jug and 3L in the small jug.</li>
<li>Empty the small jug.</li>
<li>Use the large jug to fill the small jug. This leaves 0L in the large jug and 2L in the small jug.</li>
<li>Fill the large jug.</li>
<li>Use the large jug to fill the small jug. This leaves 4L in the large jug and 3L in the small jug.</li>
</ol>

CC BY-SA 3.0
2014-09-28T16:33:16.640Z
2014-09-28T16:33:16.640Z
Josh
<p>You are given two jugs whose capacity are 5 litre and 3 litre. No jugs have any measuring marks on it. You have one source of water. How can you measure 4 litre of water in 5 litre jug ?</p>

CC BY-SA 3.0
2014-09-28T16:34:21.580Z
is this a homework question? I am not really sure how this is on-topic for this site. I would vote to close but my vote is binding, so I'll let the community decide.
Josh
CC BY-SA 3.0
2014-09-28T16:55:02.113Z
This question appears to be off-topic because it is about filling water jugs and not psychology, neuroscience, or cognitive science.
Josh
CC BY-SA 3.0
2014-09-29T20:20:11.800Z
Watch die hard: https://m.youtube.com/watch?v=BVtQNK_ZUJg
StrongBad
<artificial-intelligence>
Water Jug Problem in AI
Nilesh Sanyal
# Water Jug Problem in AI

(Asked by: username_0 on 2014-09-28)

You are given two jugs whose capacity are 5 litre and 3 litre. No jugs have any measuring marks on it. You have one source of water. How can you measure 4 litre of water in 5 litre jug ?

**Tags:** artificial-intelligence

> **Comments:**
> **username_1**: is this a homework question? I am not really sure how this is on-topic for this site. I would vote to close but my vote is binding, so I'll let the community decide.  
> **username_1**: This question appears to be off-topic because it is about filling water jugs and not psychology, neuroscience, or cognitive science.  
> **username_2**: Watch die hard: https://m.youtube.com/watch?v=BVtQNK_ZUJg  

---

## 1 answers

### Answer by username_1 on 2014-09-28. Score: 1

1. Empty the small jug.
2. Fill the large jug.
3. Use the large jug to fill the small jug. This leaves 2L in the large jug and 3L in the small jug.
4. Empty the small jug.
5. Use the large jug to fill the small jug. This leaves 0L in the large jug and 2L in the small jug.
6. Fill the large jug.
7. Use the large jug to fill the small jug. This leaves 4L in the large jug and 3L in the small jug.


---

