Axis-Aligned Rectangle Intersection
Given two axis-aligned rectangles, each described by its bottom-left and top-right corners (y axis points up, integer coordinates, |coordinate| <= 10^9, guaranteed x1 < x2 and y1 < y2). Determine whet...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
