Pergunta de entrevista da empresa Google

Algorithm questions around recursion and iterating o them