Pergunta de entrevista da empresa Goodcore Software

Develop a binary tree, and find depth of it.