Goodcore Software interview question

Develop a binary tree, and find depth of it.