GetSetHome interview question

solve the water jug problem