Domanda di colloquio di Flipkart

Warm up question about an array from cracking the coding interview (literally)