Series

Basics to advanced: Tree data structure in JS


Articles in this series

Tree data structure in JavaScript

Aug 27, 2021

Tree is an interesting data structure. It has wide variety of applications in all sorts of fields. For example: DOM is a tree data structure Directory and files in our OS can be represented as trees A family hierarchy can be represented as a tree....

Tree data structure in JavaScript
Tree: efficient traversal with parent pointer
Applying tree traversal algorithms to DOM