Two Sigma Interview Question

Debug a custom implemented binary tree