Domanda di colloquio di Rakuten

Find the overlapping area between two rectangles.