Skip to Content
All memories

Trees traversal methods

 — #Programming

Binary tree is a non-linear data structure. Unlike linear data structures we can traverse the trees in multiple ways. Lets see, How to implement these ways in javascript

"exmple of trees"

In-order traversal (Left-Root-Right)