Status: IN
`diameter_of_binary_tree` returns the number of edges on the longest path, not the number of nodes; a single-node tree returns 0, not 1.
Source: entries/2026/06/06/diameter-of-binary-tree-solution.md
JSON