GoPaisa interview question

Create an array containing value from 1 to 100 using recursion