Two Sigma interview question

Debug a custom implemented binary tree