For Smart Programmers

Category Archives: Data Structures

Saving Data Structures (Programming Perl) – Obviously, some choices are better than others Saving Data Structures (Programming Perl) Multileval data structures, tie, and indirection – Perl – Details will be fleshed out Multileval data structures, tie, and indirection – Perl Lesson 10: Perl References and Advanced Data Structures – We will see that it is [...]


• Linked list – Linear collection of self-referential class objects, called nodes – Connected by pointer links – Accessed via a pointer to the first node of the list – Subsequent nodes are accessed via the link-pointer member of the current node – Link pointer in the last node is set to null to mark [...]


Dynamic data structures Data structures that grow and shrink during execution Linked lists Allow insertions and removals anywhere Stacks Allow insertions and removals only at top of stack Queues Allow insertions at the back and removals from the front Binary trees High-speed searching and sorting of data and efficient elimination of duplicate data items