Skip to content

Latest commit

 

History

History
 
 

rectangle_area

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Problem

Find the total area covered by two rectilinear rectangles in a 2D plane.

Each rectangle is defined by its bottom left corner and top right corner as shown in the figure.

Rectangle Area Assume that the total area is never beyond the maximum possible value of int.