Tree: Depth-First Search - Maximum Depth of Binary Tree
Given the following BFS-based code to compute maximum depth of a binary tree, what is the returned depth for this tree?
Tree:
1
/ \
2 3
/ \
4 5
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions