Capgemini Engineering interview question

how will you reverse a array using recursive function