LNRD by Eulerity interview question

Recursive Algorithm Challenge