Mango Health Interview Question

Questions around recursion and Big )