Concentrix Interview Question

Recursion with practical example