vlinder Labs Interview Question

a recursion based coding problem