The Mutex Club1 Min Read dgtalbugonMay 19, 2025 The Mutex Club: Why Mutexes Trump Thread States š§ The Thread State Illusion Imagine your app as a nightclub: thread states are the DJs mixing tracksārunning, waiting, sleepingāand you can… Discover More
The Mutex Club1 Min Read dgtalbugonMay 19, 2025 The Mutex Club: Why ThreadGroup Is a Legacy Relic (and What To Use Instead) Key Insights # Grouping Without Real Control ThreadGroup lets you form thread hierarchies, peek at active counts, set priorities, and handle… Discover More
The O(n) Club3 Min Read dgtalbugonMay 18, 2025 The O(n) Club: Partition ListāHow to Herd Nodes Without Losing Your Mind The O(n) Club: Partition ListāHow to Herd Nodes Without Losing Your Mind ā” TL;DR Sort a linked list so that values less than x go before… Discover More
The O(n) Club2 Min Read dgtalbugonMay 18, 2025 The O(n) Club: Convert BST to Greater TreeāBecause Your Nodes Have FOMO The O(n) Club: Convert BST to Greater TreeāBecause Your Nodes Have FOMO ā” TL;DR Want every node in your BST to brag about all the higher… Discover More
The Mutex Club2 Min Read dgtalbugonMay 18, 2025 The Mutex Club: Why Thread.setPriority() Is More Hint Than Hammer Key Insights Thread.setPriority() is Javaās way of whispering sweet nothings to the OS schedulerāmore polite hint than SWAT team order. Its… Discover More
The Mutex Club1 Min Read dgtalbugonMay 18, 2025 The Mutex Club: Thread.setDaemon() Demystified Introduction Thread.setDaemon() feels like a secret handshake into Javaās background circle: slap setDaemon(true) on a Thread and itāll cower… Discover More
The O(n) Club3 Min Read dgtalbugonMay 17, 2025 The O(n) Club: Two Sum IV ā The BST Showdown You Didn’t Know You Needed The O(n) Club: Two Sum IV ā The BST Showdown You Didn’t Know You Needed ā” TL;DR Given a binary search tree and a target k, does any pair… Discover More
The O(n) Club3 Min Read dgtalbugonMay 17, 2025 The O(n) Club: Add Two Numbers II: Making Linked Lists Add Like 80s Calculators The O(n) Club: Add Two Numbers IIāMaking Linked Lists Add Like 80s Calculators ā” TL;DR LeetCode 445 is here to ruin your autopilot! Youāre… Discover More
The Mutex Club1 Min Read dgtalbugonMay 17, 2025 The Mutex Club: Why Java’s Thread.interrupt() Is a Flaky Nudge, Not a Nuking Button The Interrupt Myth Think Thread.interrupt() is your in-code panic button? Think smaller. This call just sets a bit in your threadās internal… Discover More
The Mutex Club1 Min Read dgtalbugonMay 17, 2025 The Mutex Club: Lockstep or Landmine? Thread.join(): Javaās Secret HandshakeāUntil It Isnāt Think of Thread.join() as a polite bouncer telling your code, “No entry until the… Discover More