Grokking Algorithms - LeetCode Practice

Your quick reference for hands-on coding practice

Chapter 1: Introduction to Algorithms (Binary Search)

Concept: Binary Search

Chapter 2: Selection Sort

Concept: Selection Sort

Chapter 3: Recursion

Concept: Recursion basics and call stacks

Chapter 4: Quicksort

Concept: Quicksort (and Quickselect)

Chapter 5: Hash Tables

Concept: Using hash maps for O(1) lookups

Chapter 6: Breadth-First Search (BFS)

Concept: Graph traversal using BFS

Chapter 7: Dijkstra’s Algorithm

Concept: Finding shortest paths in weighted graphs

Chapter 8: Greedy Algorithms

Concept: Greedy approach for set cover, interval scheduling, etc.

Chapter 9: Dynamic Programming

Concept: Breaking down problems into overlapping subproblems

Chapter 10: k-Nearest Neighbors (k-NN)

Concept: Distance-based “k-th” searching & classification analogy