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