ContainerWithMostWater

         if (height[low] < height[high]) {
             low++;
         } else {
             high--;
            }
        }