Skip to content
RED SAG Skills
medium10 pts · first answer countsgraphsbalanced-treesrecursion

Checking balance in one pass

A naive "is this tree height-balanced?" check calls a separate height() function at every node. What is the better approach?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions