Straightforward Python Solution
Code\n\nclass Solution:\n    def areaOfMaxDiagonal(self, dimensions: List[List[int]]) -> int:\n        # Adhoc\n        # Time Complexity: O(n)\n        # Space
# Code\n```\nclass Solution:\n    def areaOfMaxDiagonal(self, dimensions: List[List[int]]) -> int:\n        # Adhoc\n        # Time Complexity: O(n)\n        # Space Complexity: O(1)\n        max_area = max_diagonal = 0\n        for h, w in dimensions:\n            diagonal = sqrt(h*h + w*w)\n            if max_diagonal <= diagonal:\n                if max_diagonal == diagonal:\n                    max_area = max(max_area, h*w)\n                else:\n                    max_area = h*w\n                    max_diagonal = diagonal\n        return max_area\n```
['Python3']