Pergunta de entrevista da empresa PowerSchool Group

Solve function currying questions recursively.