Domanda di colloquio di Flipkart

One question based on array and another on tree