Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 223. Rectangle Area
Given coordinates of two axis-aligned rectangles, compute the total area covered by both. The key is to sum their individual areas and subtract the area of their intersection (zero if they don't overlap).
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late December, 2024
Mid-level
Rectangle Area
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.