Oracle interview question

Write the code to get depth of a binary tree