Oracle Interview Question

Write the code to get depth of a binary tree