Top Categories
Diameter of a Binary Tree (Code/ Algorithm)
- Category:
- Sub Category:
Find the diameter of a binary tree. The number of nodes on the longest path in a binary tree is the diameter. This is a recursive code.