Intel Corporation Interview Question

Leetcode 391. Perfect Rectangle (Hard)