UberCodingMembers
Construct Quad Tree
Members only
Given an n x n binary matrix where n is a power of 2, build and return the root of a quad tree representing the matrix. A region that is uniform becomes a leaf; otherwise it splits into four children ...
SWE
recursion
grid
tree
medium
Frequency
Single report
Last asked
2026-01-20
Stage
oa · onsite-coding
Log in to continue reading the full content
