Files
developer-roadmap/roadmaps/datastructures-and-algorithms/content/basic-data-structures@iTlpa9A7h33FkUAv0UaVZ.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

739 B

Basic Data Structures

The five main types of basic data structures are: Arrays, Linked Lists, Stacks, Queues, and Hash Tables.

  • Arrays are static data structures that store elements of the same type in contiguous memory locations.
  • Linked Lists are dynamic data structures that store elements in individual nodes, with each node pointing to the next.
  • Stacks follow the Last-In-First-Out principle (LIFO) and primarily assist in function calls in most programming languages.
  • Queues operate on the First-In-First-Out principle (FIFO) and are commonly used in task scheduling.
  • Lastly, Hash Tables store key-value pairs allowing for fast insertion, deletion, and search operations.