Water Container Problem Leetcode Python Solutions