Given two rectangles defined by their bottom-left (x1, y1) and top-right (x2, y2) coordinates, return the coordinates of their intersection rectangle, or null if they do not intersect.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.