Python simple solution
\nclass Solution:\n    def maxArea(self, h: int, w: int, horizontalCuts: List[int], verticalCuts: List[int]) -> int:\n        \n        horizontalCuts.sort()\n 
```\nclass Solution:\n    def maxArea(self, h: int, w: int, horizontalCuts: List[int], verticalCuts: List[int]) -> int:\n        \n        horizontalCuts.sort()\n        verticalCuts.sort()\n        horizontalCuts.append(h)\n        verticalCuts.append(w)\n        horizontalCuts.insert(0,0)\n        verticalCuts.insert(0,0)\n        h_max = 0\n        prev = 0\n        for i in horizontalCuts:\n            h_max = max(h_max, i-prev)\n            prev = i\n        \n        v_max = 0\n        prev = 0\n        for j in verticalCuts:\n            if v_max<j-prev:\n                v_max = j-prev\n            prev = j\n        return h_max*v_max%(10**9+7)\n```
[]