Leetcode 0223. Rectangle Area
Posted on Wed 16 November 2022 in Leetcode • Tagged with math
Question Link : https://leetcode.com/problems/rectangle-area/
Difficulty: Medium
Question
Given the coordinates of two rectilinear rectangles in a 2D plane, return the total area covered by the two rectangles. The first rectangle is defined by its bottom-left corner (ax1, ay1) and its top-right corner (ax2, ay2). The second rectangle …
Continue reading