GE HealthCare interview question

How to do reversal of array list using recursion