Pergunta de entrevista da empresa Tripadvisor

Finding the depth of any arbitrary node in a binary tree