Wipro interview question

Implement binary tree.