Sollicitatievraag bij Drishti Technologies

Array based question to be solved by recursion and iteration.