AlgoFrames

Linear Data Structures

Arrays, strings, linked lists, stacks, queues and hash tables: the building blocks every other structure uses.

Arrays and strings

Contiguous storage: indexing, shifting, growing arrays, matrices and strings.

Linked lists

Nodes joined by pointers: singly, doubly and circular lists and the classic list techniques.

Stacks and queues

Last-in-first-out and first-in-first-out structures and the problems they solve.

Hashing

Turn keys into array positions for near-constant-time lookup, and handle collisions.