LeetCode

Construct Quad Tree

Click here for an explanation.