Given an array of non-negative integers heights, find two lines that together with the x-axis form a container that holds the most water. Return the maximum area.
height = array of non-negative integers
Maximum area contained between two lines
Example 1:
Input:
height = [1,8,6,2,5,4,8,3,7]
Output:
49
Explanation:
The best container is formed by height[1]=8 and height[8]=7, area = 7*7=49.