Amazon Interview Question

calculate overlap area of two rectangles