- 1
How to implement tree data structure in javascript simply
Implementation of tree ds in javascript
1 Odpowiedź
0
Don't you consider a simple object as tree? var tree = { a: "leaf", b: { c:"leaf" }}}. The root has two nodes a and b. The node a is a leaf. And node b is a subtree.