Microsoft interview question

Given two rectangles, find if overlapping or not?