Rectangle Overlap
A rectangle is given as x1 y1 x2 y2 (bottom-left and top-right corners). Two rectangles overlap when their intersection has a positive area. Print true if they overlap, otherwise false.
Constraints
-10^9 <= coordinate <= 10^9
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.