Find the height of a tree given its root node
Filed under MTX
The question
Given the root node of a tree, calculate and return its height.
No write-up yet. Related questions below have one.
Related MTX questions
Collected from public candidate posts and coding forums. Updated Nov 2026.