Container With Most Water

Approach 1: Two pointers left and right. If height[left] <
height[right], move the left to next position that height[next left] >
height[left]. If height[left] > height[right], move the right to the
next position that height[next right] > height[right].