...

/

Solution: Rectangle Overlap

Solution: Rectangle Overlap

Let’s solve the Rectangle Overlap problem using the Math and Geometry pattern.

Statement

An axis-aligned rectangle is represented by a list [x1,y1,x2,y2][x_1, y_1, x_2, y_2], where:

  • (x1,y1)(x_1, y_1) ...

Access this course and 1400+ top-rated courses and projects.