GE HealthCare Interview Question

How to do reversal of array list using recursion