Data Structures and Algorithms: A Clear Foundation cover

Programming · Ebook

Data Structures and Algorithms: A Clear Foundation

by Shriira Press

4.9(1,184)168 pagesPublished 2026

Every fast program rests on good data structures and algorithms. This free, example-driven book builds that foundation from the ground up: Big-O and complexity, arrays and strings, linked lists, stacks and queues, hash tables, trees and binary search trees, heaps, graphs with BFS and DFS, the classic sorting algorithms, and the great design paradigms — recursion, divide and conquer, greedy, and dynamic programming. Eleven focused chapters with runnable Python code, complexity tables, and clear diagrams. Whether you're preparing for interviews or simply want to write software that scales, this is the clear path through the essentials.

Contents

  1. 1Preface
  2. 2Chapter 1 — Why Data Structures and Algorithms Matter
  3. 3Chapter 2 — Big-O: Measuring Efficiency
  4. 4Chapter 3 — Arrays and Strings
  5. 5Chapter 4 — Linked Lists
  6. 6Chapter 5 — Stacks and Queues
  7. 7Chapter 6 — Hash Tables
  8. 8Chapter 7 — Trees and Binary Search Trees
  9. 9Chapter 8 — Heaps and Priority Queues
  10. 10Chapter 9 — Graphs and Graph Traversal
  11. 11Chapter 10 — Sorting Algorithms
  12. 12Chapter 11 — Algorithm Design Paradigms