WaterJugProblem

in #artificial7 years ago (edited)

IMG_20170627_131109.jpg
We are given 2 jugs, a 4 liter one and a 3- liter one. Neither has any measuring markers on it. There is a pump that can be used to fill the jugs with water. Now, How can we get exactly 2 liters of water in to the 4-liter jugs?

Don't just check the answer on Google, exercise your mind

Build the Steemit community Yusuf 20170627_080550.jpg
DQmRhDtjokAZnGKi4QwheqksKTFo6m4fsjMYsNNrsitC1xk.gif