Oracle Interview Question

Height of the tree using DFS and BFS.