Skip to content

Data Structures Overview

Ways of organizing and storing data.

Fundamental Data Structures

Linear

  • Arrays: Fixed-size collection
  • Linked Lists: Dynamic collection
  • Stacks: LIFO structure
  • Queues: FIFO structure

Non-Linear

  • Trees: Hierarchical structure
  • Graphs: Network structure
  • Hash Tables: Key-value pairs

Choosing the Right Structure

Consider: 1. Type of operations needed 2. Frequency of operations 3. Memory constraints 4. Access patterns

More detailed pages coming soon!