Concept Flow - Diameter of Binary Tree
Start at root node
Calculate left subtree height
Calculate right subtree height
Calculate diameter through current node = left height + right height
Update max diameter if current diameter is larger
Recursively repeat for left child
Recursively repeat for right child
Return max diameter found
We find the height of left and right subtrees at each node, calculate diameter through that node, update max diameter, and recurse for all nodes.