LeetCode
Minimum Area Rectangle II
Click
here
for an explanation.