Nest Digital interview question

Mostly logical thinking questions and recursive function questions