Thales interview question

Binary Tree Related problems(Around Networking)