Pregunta de entrevista de Abi-Tech Solution

Write a program for a recursive algorithm?