Topics

1

Time and space complexity (Big-O)

Estimate how running time grows with input size.

Free
2

Arrays and vectors

Use arrays/vectors and know cost of access, insert, delete.

Free
3

Two pointers

Solve pair and reverse problems with two moving indices.

Free
4

Sliding window

Reuse previous work for subarray/substring problems.

Full course
5

Kadane's algorithm (max subarray)

Find maximum subarray sum in O(n).

Full course
6

Binary search

Halve the search space each step on sorted data.

Free
7

Bubble sort

Swap neighbours until the biggest values bubble to the end, and see its O(n^2) cost.

Free
8

Selection sort

Find the smallest remaining value and swap it to the front.

Full course
9

Insertion sort

Insert each value into the sorted part on its left.

Full course
10

Merge sort

Divide, sort halves, and merge in O(n log n).

Full course
11

Quick sort

Partition around a pivot and recurse.

Full course
12

Hashing and hash maps

Use unordered_map/set for O(1) lookup and counting.

Full course
13

String problems

Solve palindrome, anagram and frequency problems.

Full course
14

Recursion and the call stack

Think recursively and trace the stack.

Full course
15

Backtracking

Explore choices and undo them (subsets, permutations, N-Queens).

Full course
16

Linked lists

Create, insert, delete and traverse singly linked lists.

Full course
17

Linked list problems: reverse, middle, cycle

Use pointer tricks: reverse in place, slow/fast pointers.

Full course
18

Stacks

Use LIFO for undo, parentheses and expression evaluation.

Full course
19

Queues and deques

Use FIFO queues and double-ended queues.

Full course
20

Monotonic stack: next greater element

Solve 'next greater/smaller' problems in O(n).

Full course
21

Binary trees and traversals

Build trees and do inorder, preorder, postorder, level order.

Full course
22

Binary search trees

Insert, search and delete in a BST.

Full course
23

Heaps and priority queues

Always get the min/max quickly; top-k problems.

Full course
24

Graphs and BFS

Represent graphs and explore level by level.

Full course
25

DFS, connected components and cycles

Explore deep first; count islands; detect cycles.

Full course
26

Shortest paths: Dijkstra

Find cheapest paths with weights.

Full course
27

Dynamic programming

Store answers to subproblems: memoization and tabulation.

Full course