Grapecity Interview Question

binary tree implementaion