HF RL Explorer

Rectangle Overlap Detection

Rectangle Overlap Detection: a task in Terminal-Lego-15k (Harbor dataset). Implement a C++ program that determines whether two axis-aligned rectangles overlap each other. Axis-aligned means all edges of the rectangles are parallel to either the x-axis or y-axis (no rotation).

The task

Implement a C++ program that determines whether two axis-aligned rectangles overlap each other. Axis-aligned means all edges of the rectangles are parallel to either the x-axis or y-axis (no rotation).

Part of PrimeIntellect/Terminal-Lego-15k.