Beats 100% on Runtime (34ms)
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:\nO(N)\n\n- Space complexity:\nO(1)\n\n# Code\n```python []\nclass Solution(object):\n    def areaOfMaxDiagonal(self, dimensions):\n        longestDiagonal = 0\n        biggestBox = 0\n\n        for i in range(len(dimensions)):\n            currentDiagonal = ((dimensions[i][0] ** 2) + (dimensions[i][1] ** 2)) ** 0.5\n            currentBox = dimensions[i][0] * dimensions[i][1]\n\n            if currentDiagonal > longestDiagonal:\n                longestDiagonal = currentDiagonal\n                biggestBox = currentBox\n            elif currentDiagonal == longestDiagonal:\n                if currentBox > biggestBox:\n                    biggestBox = currentBox\n\n        return (biggestBox)\n                \n```
['Python']