Microsoft Interview Question

Given two rectangles, find if overlapping or not?