Domanda di colloquio di Drishti Technologies

Array based question to be solved by recursion and iteration.