Python easy solution
\nclass Solution:\n    def maxArea(self, h: int, w: int, hc: List[int], vc: List[int]) -> int:\n        \n        hc.sort()\n        vc.sort()\n        \n      
```\nclass Solution:\n    def maxArea(self, h: int, w: int, hc: List[int], vc: List[int]) -> int:\n        \n        hc.sort()\n        vc.sort()\n        \n        maxh = hc[0]\n        maxv = vc[0]\n        \n        for i in range(1, len(hc)):\n            maxh = max(maxh, hc[i] - hc[i-1])\n        maxh = max(maxh, h - hc[-1])\n        \n        for i in range(1, len(vc)):\n            maxv = max(maxv, vc[i] - vc[i-1])\n        maxv = max(maxv, w - vc[-1])\n        \n        return maxh*maxv % (10**9 + 7)\n```
['Python', 'Python3']