write solution for leetcode Container With Most Water
modify solution for leetcode Container With Most Water