Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3000. Maximum Area of Longest Diagonal Rectangle
Given a list of rectangles (length, width), find the rectangle with the largest diagonal (compare l^2 + w^2 to avoid sqrt) and return its area; if multiple have the same longest diagonal, return the maximum area among them.
Asked at:
Apple
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early June, 2025
Apple
Senior
This was an interview to ML infra team. The question wasn't leet-code style but more OOP oriented, on how to get the input, validate it and perform the transformations. The interviewer wanted me to write clean code with classes an design patterns.
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.