Array with Comments
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: O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: O(1)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution:\n    def areaOfMaxDiagonal(self, dimensions: List[List[int]]) -> int:\n        max_diag = 0\n        max_area = 0\n        \n        for l, w in dimensions:\n            # compute diagonal\n            diagonal = l ** 2 + w ** 2\n\n            # update both max_diag & max_area\n            if max_diag < diagonal:\n                max_diag = diagonal\n                max_area = l * w\n\n            # only update max_area\n            elif max_diag == diagonal:\n                max_area = max(max_area, l * w)\n\n        return max_area\n```
['Array', 'Python3']