The O(n) Club3 Min Read dgtalbugonApril 17, 2025 The O(n) Club: Sum Root to Leaf Numbers: Why Trees Love Place Value (LeetCode 129) The O(n) Club: Sum Root to Leaf Numbers—Why Trees Love Place Value (LeetCode 129) ⚡ TL;DR Take a binary tree stuffed with digits (0–9). Walk… Discover More
The Mutex Club2 Min Read dgtalbugonApril 17, 2025 The Mutex Club: Why Threads and Mutexes Aren’t Always the Answer Key Insights ### Threads and Mutexes Aren’t Free Ever slapped a thread on your script and felt like a wizard? Threads and mutexes serialize… Discover More
The Mutex Club2 Min Read dgtalbugonApril 17, 2025 The Mutex Club: Functional Concurrency Without the Lock-and-Key Drama Introduction Welcome to the Mutex Club, where we design out our locks and live to tell the tale. Imagine a kitchen where every ingredient is… Discover More
The O(n) Club2 Min Read dgtalbugonApril 16, 2025 The O(n) Club: Rotate List: How to Not Tie Your Pointers in Knots The O(n) Club: Rotate List—How to Not Tie Your Pointers in Knots ⚡ TL;DR Rotate a singly linked list right by k spots. Please don’t move the… Discover More
The O(n) Club1 Min Read dgtalbugonApril 16, 2025 The O(n) Club: Surviving Interval List Intersections Without Meltdowns The O(n) Club: Surviving Interval List Intersections Without Meltdowns ⚡ TL;DR Need to intersect two sorted, non-overlapping interval lists in… Discover More
The Mutex Club2 Min Read dgtalbugonApril 16, 2025 The Mutex Club: Why Immutability Beats Mutexes 📌 Key Insights # Built-in Thread Safety Immutable objects refuse to change after creation, so threads can’t stomp on each other’s data. Think of… Discover More
The Mutex Club1 Min Read dgtalbugonApril 16, 2025 The Mutex Club: Shared Mutability Gave Me Heartburn—Here’s Why Shared Mutability in a Nutshell Think of shared mutability as letting multiple chefs stir the same soup without coordinating—one dumps salt,… Discover More
The O(n) Club2 Min Read dgtalbugonApril 15, 2025 The O(n) Club: Deleting a Linked List Node When All You Have Is the Node (Not the Head!) The O(n) Club: Deleting a Linked List Node When All You Have Is the Node (Not the Head!) ⚡ TL;DR Your mission: delete a node in a singly… Discover More
The O(n) Club2 Min Read dgtalbugonApril 15, 2025 The O(n) Club: Valid Palindrome II: Palindrome With Training Wheels The O(n) Club: Valid Palindrome II – Palindrome With Training Wheels ⚡ TL;DR Basically, you get one free pass. Given a string, can it be a… Discover More
The Mutex Club2 Min Read dgtalbugonApril 15, 2025 The Mutex Club: Why Your Data Cries for a Mutex Thread-Safe Code: Why Your Data Cries for a Mutex Ever juggled n8n workflows, LangChain calls, and a Pinecone index at 3 a.m. only to find… Discover More