Paxcom interview question

water jug problem