max([area[i] for i in np.argwhere(diag == np.amax(diag)).flatten().tolist()])
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python3 []\nimport numpy as np\nclass Solution:\n    def areaOfMaxDiagonal(self, dimensions: List[List[int]]) -> int:\n        diag = []\n        area = []\n        for i in range(len(dimensions)):\n                diag.append(dimensions[i][0]**2+dimensions[i][1]**2)\n                area.append(dimensions[i][0]*dimensions[i][1])\n        return max([area[i] for i in np.argwhere(diag == np.amax(diag)).flatten().tolist()])\n```
['Python3']