← Amazon questions
CodingEasy

Total area of two overlapping rectangles

Filed under Amazon

Given the coordinates of two rectilinear rectangles in a 2D plane, return the total area covered by the two rectangles. Each rectangle is defined by its bottom-left corner (ax1, ay1) and top-right…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.