Data Structures & Algorithms

Overview

About Data Structures & Algorithms

Data structures decide how your program stores and organizes data, and algorithms decide how it works with that data. Together they determine whether code runs in milliseconds or minutes, and they are the core of most technical interviews. The course opens with Complexity & Big O, so every structure after it can be judged by its real cost, then covers Arrays & Strings, Linked Lists, and Stacks & Queues, the building blocks behind most other structures.

Hash Tables show how to get near constant time lookups, and Recursion & Backtracking introduces the way of thinking that trees, graphs and dynamic programming all depend on. Sorting & Searching compares the classic algorithms and shows how binary search applies far beyond sorted lists.

The middle of the course moves to non-linear structures: Trees, BSTs & Tries, Heaps & Priority Queues, and Graphs, including BFS, DFS and shortest paths. The final modules cover Dynamic Programming and Greedy Algorithms, closing with a repeatable approach to problem solving patterns you can reuse on questions you have never seen.

Content

12 modules
01

Foundations: Complexity & Big O

How to measure code before you optimize it: time and space complexity, Big O notation, best, average and worst cases, and reading your own code for hidden costs.

Big O Time & Space Amortized Analysis
02

Arrays & Strings

How arrays and strings sit in memory, dynamic arrays, in-place operations, and the two pointer and sliding window techniques that solve a huge share of everyday problems.

Dynamic Arrays Two Pointers Sliding Window
03

Linked Lists

Singly and doubly linked lists, how they trade random access for cheap inserts, and classic techniques like reversal, fast and slow pointers, and cycle detection.

Singly / Doubly Reversal Cycle Detection
04

Stacks & Queues

LIFO and FIFO structures, deques, and where each one shows up: parsing, undo history, schedulers, and monotonic stack problems.

Stack Queue Monotonic Stack
05

Hash Tables & Sets

How hash functions and collision handling work, why lookups are close to constant time, and using maps and sets for counting, deduplication and fast membership checks.

Hash Maps Collisions Frequency Counting
06

Recursion & Backtracking

Thinking recursively, base cases and the call stack, then exploring choices with backtracking for permutations, subsets and constraint problems.

Recursion Call Stack Backtracking
07

Sorting & Searching

Bubble, insertion, merge, quick and heap sort compared by cost and stability, plus binary search and the many problems it can be adapted to.

Merge / Quick Sort Binary Search Stability
08

Trees, BSTs & Tries

Binary trees and binary search trees, depth first and breadth first traversals, balancing ideas, and tries for prefix and autocomplete problems.

Traversals BST Tries
09

Heaps & Priority Queues

Min and max heaps, how they are stored in an array, heap sort, and top-K and streaming median style problems.

Min / Max Heap Top-K Heap Sort
10

Graphs

Representing graphs with adjacency lists and matrices, BFS and DFS, shortest paths with Dijkstra, topological sorting and union find.

BFS / DFS Dijkstra Union Find
11

Dynamic Programming

Spotting overlapping subproblems, memoization versus tabulation, and working through knapsack, longest common subsequence and grid path problems.

Memoization Tabulation Knapsack
12

Greedy Algorithms & Problem Solving Patterns

When a locally best choice is also globally best, interval and scheduling problems, and a repeatable framework for approaching unfamiliar interview questions.

Greedy Intervals Interview Patterns

What You Can Do After This Course

By the end of the curriculum you will have implemented the core data structures and algorithms yourself and practiced them on real problems. Concretely, you will be able to:

Analyze code like an engineer: read any solution and state its time and space complexity, and spot the bottleneck before you run it.

Choose the right data structure: pick between arrays, linked lists, hash tables, trees, heaps and graphs based on the operations your problem needs.

Think recursively: break problems into smaller pieces, handle base cases cleanly, and use backtracking to explore choices.

Sort, search and traverse with confidence: implement the classic algorithms, adapt binary search, and walk trees and graphs with DFS and BFS.

Solve optimization problems: recognize when dynamic programming or a greedy approach fits, and build the solution step by step.

Approach unfamiliar problems calmly: apply a repeatable pattern based method in interviews and real projects, and explain your reasoning as you go.