Search⌘ K
AI Features

Solution: Rectangle Overlap

Solution: Rectangle Overlap gives two axis-aligned rectangles as coordinate arrays. Return whether their intersection has positive area, excluding edge- or corner-only contact.

Statement

An axis-aligned rectangle is represented by a list [x1,y1,x2,y2][x_1 ...