558. Quad Tree Intersection (Medium)