Two Sigma Interview Question

How to debug a binary tree