Emerson interview question

water jug questions and basic puzzles