Flipkart interview question

questions were asked around. array, binary tree, BFS