Question d’entretien chez Google

Implement the overlap area of two rectangles.