AC: Container With Most Water

find out the increasing subsequence from both sides, calc the max
result of each two points from these two subsequences.