Series

Basics to advanced: Tree data structure in JS


Articles in this series

Tree data structure in JavaScript

Aug 27, 20217 min read

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
Trie in Javascript: the Data Structure behind Autocomplete
Heaps in JavaScript