Algorithms Compendium: From Theory to Production

23 articles

A comprehensive 23-part series covering all essential algorithms for Java developers. From foundational concepts like complexity analysis and recursion, through sorting (QuickSort, MergeSort, TimSort), searching (binary search, string matching), graph algorithms (DFS, BFS, Dijkstra, MST), dynamic programming, greedy algorithms, backtracking, to probabilistic data structures (Bloom filters, HyperLogLog) and interview patterns. Includes real production stories, mental models, exercises, and 100+ interview questions.

series: algorithms-compendium 23 published articles
Algorithms

How to Use This Series

Navigate this 23-part algorithms series effectively. Learn the knowledge pyramid, optimal learning cycles, and personalized paths for interview prep or production mastery.

AlgorithmsGuideJava+1 more
June 10, 2026
15 min
Algorithms

Algorithm Analysis Fundamentals

Master Big O notation, Big Omega, Big Theta, and amortized analysis. Learn to derive complexity for any algorithm and use JMH for proper Java benchmarking.

AnalysisBenchmarkingBig-o+2 more
June 10, 2026
17 min
Algorithms

Recursion and Iteration Mastery

Understand call stack mechanics, StackOverflowError prevention, and converting between recursive and iterative solutions. Covers memoization and trampolining patterns.

Call StackIterationMemoization+2 more
June 10, 2026
19 min
Algorithms

Divide and Conquer

Apply the Divide & Conquer paradigm to break down problems. Learn the Master Theorem for analyzing recurrences and implement classic D&C algorithms.

Divide And ConquerMaster TheoremMergesort+1 more
June 10, 2026
22 min
Algorithms

Comparison-Based Sorting

Deep dive into QuickSort, MergeSort, HeapSort, and TimSort with implementation details and practical trade-offs between these fundamental algorithms.

HeapsortMergesortQuicksort+2 more
June 10, 2026
21 min
Algorithms

Linear Time Sorting

Escape the O(n log n) lower bound using Counting Sort, Radix Sort, and Bucket Sort when data has bounded, integer keys.

Bucket SortCounting SortLinear Time+1 more
June 10, 2026
22 min
Algorithms

Sorting in Practice

Bridge theory to practice: stability, Top-K selection, external sorting, parallel sorting, and writing correct Comparators for production systems.

ComparatorExternal SortSorting+2 more
June 10, 2026
27 min
Algorithms

Advanced Sorting Techniques

Explore hybrid algorithms like IntroSort and TimSort, Patience Sort for nearly-sorted data, Block Sort for in-place stable sorting.

AdaptiveBlock SortIntrosort+2 more
June 10, 2026
30 min
Algorithms

Binary Search Mastery

Write bug-free binary search: classic, lower bound, upper bound, and equal range variants. Learn binary search on answer for parametric problems.

Binary SearchLower BoundParametric Search+1 more
June 10, 2026
26 min
Algorithms

Specialized Search Algorithms

Apply interpolation, exponential, jump, Fibonacci, and ternary search when data has special properties that outperform binary search.

Exponential SearchFibonacciInterpolation Search+1 more
June 10, 2026
26 min
Page 1 of 3