1 link tagged with all of: data-structures + algorithms + trees + programming
Click any tag below to further narrow down your results
Links
This article discusses two methods for representing hierarchical structures like trees. It contrasts using an array of child pointers with a more memory-efficient approach that employs first-child and next-sibling pointers. Each method has its trade-offs in terms of memory management and access speed.