3 ms·
It's early so could you help me out by showing how to represent say this[1] tree as a list? Or did you just mean you can store the nodes in an array and index
by magicalhippo 5y ago
It's early so could you help me out by showing how to represent say this[1] tree as a list?
Or did you just mean you can store the nodes in an array and index them by level? In that case I wouldn't call it a list.
[1]: https://en.wikipedia.org/wiki/B-tree#/media/File:B-tree.svg https://en.wikipedia.org/wiki/B-tree#/media/File:B-tree.svg