adityaarakeri / Interview-solved

🌴 Solutions to few of the interview coding challenges in Python 🐍
MIT License
40 stars 62 forks source link

riddle: find height of a binary tree #87

Closed sharpblade4 closed 3 years ago

sharpblade4 commented 3 years ago

the riddle is: find the height (longest path from the root node) of a binary tree (not necessarily balanced).