(String[] args)
| 22 | } |
| 23 | |
| 24 | public static void main(String[] args) { |
| 25 | Solution solution = new Solution(); |
| 26 | System.out.println(solution.maxArea(new int[]{1, 2, 4, 3})); // 4 |
| 27 | System.out.println(solution.maxArea(new int[]{1, 8, 6, 2, 5, 4, 8, 3, 7}));// 49 |
| 28 | } |
| 29 | } |