Driver code
a = [ 1 , 5 , 4 , 3 ] NEW_LINE b = [ 3 , 1 , 2 , 4 , 5 ] NEW_LINE len1 = len ( a ) NEW_LINE print ( maxArea ( a , len1 ) ) NEW_LINE len2 = len ( b ) NEW_LINE print ( maxArea ( b , len2 ) ) NEW_LINE