LeetCode
Rectangle Area II
Click
here
for an explanation.