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 cases where they only touch at an edge or corner.

Statement

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