Is it correct for following test case?
a point inside a rectangle , then overlap is the area of rectangle?
Hint: Look at the example picture. You need to compute the white area.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.