easy beats 100%
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```python3 []
class Solution:
    def areaOfMaxDiagonal(self, dimensions: List[List[int]]) -> int:
        max_diagonal=0
        max_area=0
        for length,width in dimensions:
            diagonal=sqrt(length*length+width*width)
            area=length*width

            if diagonal>max_diagonal:
                max_diagonal=diagonal
                max_area=area
            elif diagonal==max_diagonal:
                max_area=max(max_area,area)
        return max_area            
        

        
```
['Python3']