The O(n) Club2 Min Read dgtalbugonApril 27, 2025 The O(n) Club: Is Subsequence: Why Order Matters (and Coffee Helps) The O(n) Club: Is Subsequence — Why Order Matters (and Coffee Helps) ⚡ TL;DR Checking if s is a subsequence of t? Don’t waste your time (or… Discover More
The Mutex Club2 Min Read dgtalbugonApril 27, 2025 The Mutex Club: Graceful Thread Interrupts Without Deadlocks The Mutex Club: Graceful Thread Interrupts Without Deadlocks ## Key Insights # Mutex Exclusivity Think of a mutex as a barista’s espresso… Discover More
The Mutex Club1 Min Read dgtalbugonApril 27, 2025 The Mutex Club: volatile Means Visibility, Not Atomicity ⚠️ Key Insights ### Memory Visibility vs Atomicity Volatile is a visibility enforcer, telling compilers to hit main memory for every read/write.… Discover More
The O(n) Club2 Min Read dgtalbugonApril 26, 2025 The O(n) Club: Two Oddballs, One XOR Trick – Solving Single Number III Without the Hashmap Hype The O(n) Club: Two Oddballs, One XOR Trick – Solving Single Number III Without the Hashmap Hype ⚡ TL;DR You’ve got an int array where… Discover More
The O(n) Club1 Min Read dgtalbugonApril 26, 2025 The O(n) Club: The Skyline Problem — Heap, Sweep, and the Art of Urban Java The O(n) Club: The Skyline Problem — Heap, Sweep, and the Art of Urban Java ⚡ TL;DR Given a row of buildings, your job is to chart those… Discover More
The Mutex Club2 Min Read dgtalbugonApril 26, 2025 The Mutex Club: Async Isn’t Parallelism—Your Secret Productivity Hack Key Insights – Non-Blocking Execution: Async is like a clever waiter that juggles orders instead of standing idle. In JS (async/await)… Discover More
The Mutex Club2 Min Read dgtalbugonApril 26, 2025 The Mutex Club: Mastering Multi-phase Task Coordination Key Insights ### Orchestrating the Phases Multi-phase coordination is essentially a tightly choreographed dance of agents or threads moving… Discover More
The O(n) Club3 Min Read dgtalbugonApril 25, 2025 The O(n) Club: Reconstruct Itinerary (JFK Edition): When Your DFS Hits Turbulence The O(n) Club: Reconstruct Itinerary (JFK Edition): When Your DFS Hits Turbulence ⚡ TL;DR Given a suitcase full of flight tickets, your… Discover More
The O(n) Club2 Min Read dgtalbugonApril 25, 2025 The O(n) Club: Ugly Numbers II – Three Pointers, Zero Ugly Bugs The O(n) Club: Ugly Numbers II – Three Pointers, Zero Ugly Bugs ⚡ TL;DR Ugly numbers are those rare creatures with only 2, 3, or 5 as their… Discover More
The Mutex Club1 Min Read dgtalbugonApril 25, 2025 The Mutex Club: Thread Group + Mutex Logging Demystified TL;DR Thread Groups help you herd related threads like logging robots, but they don’t enforce order. A mutex is your log file’s bouncer—one… Discover More