Rapyd interview question

Write a recursion function, leetcode style.