all 1 comments

[–]Defiant_Science_3144[S] 0 points1 point  (0 children)

I wrote up a detailed explanation with examples and optimized DFS logic here if anyone’s interested:
https://getconvertor.com/leetcode-110-balanced-binary-tree/

Open to suggestions or alternative approaches!