Data Structure

A data structure is a way of organising and storing data so it can be used efficiently. Arrays, lists, stacks, queues, and hash maps are common examples.

General Programming

Choosing the right data structure makes a program faster and simpler. Each one is good at certain operations: arrays for fast index access, hash maps for fast key lookups, queues for processing items in order.

See also

Back to the Dictionary