Pregunta de entrevista de GE HealthCare

How to do reversal of array list using recursion