Pregunta de entrevista de Sophos

Write program for finding depth of tree