The O(n) Club2 Min Read dgtalbugonMay 21, 2025 The O(n) Club: Repeated Substring Pattern—Now With 100% More Magic Rope The O(n) Club: Repeated Substring Pattern—Now With 100% More Magic Rope ⚡ TL;DR Want to know if your string is secretly “la la la”… Discover More
The O(n) Club2 Min Read dgtalbugonMay 21, 2025 The O(n) Club: Valid Parenthesis String — Greedy for Sanity, Wild About Wildcards The O(n) Club: Valid Parenthesis String — Greedy for Sanity, Wild About Wildcards ⚡ TL;DR This interview classic wants you to check if a… Discover More
The Mutex Club1 Min Read dgtalbugonMay 21, 2025 The Mutex Club: notifyAll() Unleashed—Hero or Hazard? Key Insights # Mass Wakeup notifyAll() yells “Everybody up!” waking all threads waiting on an object’s monitor—cue the JVM… Discover More
The Mutex Club1 Min Read dgtalbugonMay 21, 2025 The Mutex Club: Mastering notify_one() vs notify_all() The Concurrency Turbo Button Picture your threads lined up at a stoplight—waiting on a condition variable. Hit notify_one(), and a single… Discover More
The O(n) Club1 Min Read dgtalbugonMay 20, 2025 The O(n) Club: Binary Search With Zero Chill (And Full Log n Swagger) The O(n) Club: Binary Search With Zero Chill (And Full Log n Swagger) ⚡ TL;DR Stop poking every box—binary search slashes sorted arrays in… Discover More
The O(n) Club2 Min Read dgtalbugonMay 20, 2025 The O(n) Club: Number of Longest Increasing Subsequence — Now With Extra Counting! The O(n) Club: Number of Longest Increasing Subsequence — Now With Extra Counting! ⚡ TL;DR This isn’t just “find the LIS… Discover More
The Mutex Club2 Min Read dgtalbugonMay 20, 2025 The Mutex Club: Taming wait() and Mutexes in Real-World Concurrency Concurrency’s Kitchen: Why wait() and Mutexes Matter # A Dangerously Delicate Dance When your AI inference nodes, n8n automations, or… Discover More
The Mutex Club1 Min Read dgtalbugonMay 20, 2025 The Mutex Club: What synchronized Really Does (And What Everyone Forgets) Ever felt that adding synchronized to your Java method is like turning on the Bat-Signal for thread safety? Not quite. ## The Myth, The Lock,… Discover More
The O(n) Club2 Min Read dgtalbugonMay 19, 2025 The O(n) Club: Isomorphic Strings — The Interview Trap That Snags Smart Devs The O(n) Club: Isomorphic Strings — The Interview Trap That Snags Smart Devs ⚡ TL;DR Want to see if two strings can become each other by… Discover More
The O(n) Club2 Min Read dgtalbugonMay 19, 2025 The O(n) Club: Cracking Integer Sqrt(x) Like a (Java) Boss The O(n) Club: Cracking Integer Sqrt(x) Like a (Java) Boss ⚡ TL;DR Don’t use Math.sqrt(). Don’t dare touch floats. Compute the… Discover More