package LeetCode.Array.water; public class Test { public static void main(String[] args) { Solution sol = new Solution(); int[] height = {1,8,6,2,5,4,8,3,7}; System.out.println(sol.maxArea(height)); } }