performant-array-to-tree
Converts an array of items with ids and parent ids to a nested tree in a performant O(n) way. Runs in browsers and Node.js.
- 236
- TypeScript
- 2 y ago
Converts an array of items with ids and parent ids to a nested tree in a performant O(n) way. Runs in browsers and Node.js.
A playground for learning DataStructures, Algorithms, and Object-Oriented Concepts.