Sokrati Interview Question

questions based on binary tree