Why I cannot pass the last test case?? Daddy please help me!!!
\nclass Solution {\n    public int maxArea(int h, int w, int[] horizontalCuts, int[] verticalCuts) {\n        \n     \n        Arrays.sort(horizontalCuts);\n   
```\nclass Solution {\n    public int maxArea(int h, int w, int[] horizontalCuts, int[] verticalCuts) {\n        \n     \n        Arrays.sort(horizontalCuts);\n        Arrays.sort(verticalCuts);\n        \n        PriorityQueue<Integer> heights = new PriorityQueue(Collections.reverseOrder());\n        heights.offer(horizontalCuts[0]);\n        heights.offer(h - horizontalCuts[horizontalCuts.length - 1]);\n        for(int i = 1; i < horizontalCuts.length; i++){\n            heights.offer(horizontalCuts[i] - horizontalCuts[i - 1]);\n        }\n      \n        \n        PriorityQueue<Integer> widths = new PriorityQueue(Collections.reverseOrder());\n        widths.offer(verticalCuts[0]);\n        widths.offer(w - verticalCuts[verticalCuts.length - 1]);\n        for(int i = 1; i < verticalCuts.length; i++){\n            widths.offer(verticalCuts[i] - verticalCuts[i - 1]);\n        }\n        \n        int res = (heights.poll() * widths.poll()) % 1000000007;\n        return res;\n    }\n}\n```\n\nI\'m so fucking stupid!!!!!!!!! Spent an hour and couldn\'t find the bug!!!! 5555555555555
[]