Check if any pair of rectangles overlap

easy
Check if any pair of rectangles overlap - Coding Problem | K5kC