Flipkart interview question

Basic questions from Tree, recursion ,DFS and BFS