Frage im Vorstellungsgespräch bei Demonware

Recursion question, replace for loop wuth recursive approach