Queries on a Binary Tree | CodeChef