Yext Interview Question

Debug a function that manipulates binary tree