Tree: Depth-First Search - Diameter of Binary Tree
The following code attempts to compute the diameter of a binary tree. Identify the subtle bug that causes incorrect diameter calculation.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions