[LeetCode] Rectangle Area 矩形面积

  Find the total area covered by two rectilinearrectangles in a 2D plane. Each rectangle is defined by its bottom left corner and top right corner as shown in the figure. Example: Input: A = -3, B = 0
相关文章
相关标签/搜索