Pergunta de entrevista da empresa Skybox Labs

Calculate the maximum depth of a binary tree in 2 different ways: one using recursion and the other using iteration.