結果 : water and jug problem leetcode solution