Algorithms Jul 25, 2026 8 min read
Bloom Filter Explained
Learn how Bloom filters trade small false-positive risk for compact membership checks, including sizing math, Java BitSet code, and backend use cases.
Category
11 articles in this category. Use this page as a focused path through related backend concepts.
Algorithms Jul 25, 2026 8 min read
Learn how Bloom filters trade small false-positive risk for compact membership checks, including sizing math, Java BitSet code, and backend use cases.
Algorithms Jul 25, 2026 7 min read
Compare breadth-first and depth-first graph traversal, choose the right strategy, and implement safe iterative Java versions with complexity and tests.
Algorithms Jul 25, 2026 7 min read
Recognize heap patterns for top K, kth elements, streaming medians, k-way merge, and scheduling with safe Java PriorityQueue examples.
Algorithms Jul 25, 2026 6 min read
Learn the merge intervals pattern, endpoint semantics, sorting invariants, Java implementation, complexity, edge cases, and scheduling variants.
Algorithms Jul 25, 2026 7 min read
Learn how monotonic stacks solve next-greater, stock-span, temperature, and histogram problems in linear time with practical Java examples.
Algorithms Jul 1, 2026 4 min read
Learn prefix sums with Java examples, range-sum queries, subarray patterns, difference arrays, complexity, and when preprocessing is worth it.
Algorithms Jul 1, 2026 5 min read
Learn the sliding window algorithm pattern with Java examples, fixed windows, variable windows, two pointers, complexity, and common mistakes.
Algorithms Jul 1, 2026 5 min read
Learn the two pointers algorithm pattern with Java examples for sorted arrays, pairs, partitions, linked lists, complexity, and common mistakes.
Algorithms Jun 28, 2026 4 min read
Learn how binary search works, when it applies, common off-by-one mistakes, and how to implement iterative binary search in Java.
Algorithms Jun 28, 2026 4 min read
Learn common ways to solve top K elements problems with sorting, heaps, and Java PriorityQueue, including complexity tradeoffs.
Algorithms Feb 4, 2026 4 min read
Learn Big-O notation with practical backend examples, including arrays, hash maps, sorting, nested loops, and database-like thinking.