The O(n) Club3 Min Read dgtalbugonJuly 17, 2025 The O(n) Club: Most Stones Removed with Same Row or Column: Stone-Crushing Group Therapy The O(n) Club: Most Stones Removed with Same Row or Column — Stone-Crushing Group Therapy ⚡ TL;DR Imagine every stone is a bored dev at a… Discover More
The O(n) Club2 Min Read dgtalbugonJuly 17, 2025 The O(n) Club: Turning Your String Into a Narcissist—Shortest Palindrome Edition The O(n) Club: Turning Your String Into a Narcissist—Shortest Palindrome Edition ⚡ TL;DR You want to turn your string s into the shortest… Discover More
The O(n) Club2 Min Read dgtalbugonJuly 16, 2025 The O(n) Club: LeetCode 670 Maximum Swap — Greedy Digit Hustle Unleashed The O(n) Club: LeetCode 670 Maximum Swap — Greedy Digit Hustle Unleashed ⚡ TL;DR Got a non-negative integer? Swap two digits (once) to get the… Discover More
The O(n) Club1 Min Read dgtalbugonJuly 16, 2025 The O(n) Club: Running Sum of 1D Array – Because If You Can’t Count, You Can’t Code The O(n) Club: Running Sum of 1D Array – Because If You Can’t Count, You Can’t Code ⚡ TL;DR Add up each number as you go; every… Discover More
The O(n) Club2 Min Read dgtalbugonJuly 15, 2025 The O(n) Club: Max Consecutive Ones: Give Your CPU a Break, Not a Headache The O(n) Club: Max Consecutive Ones — Give Your CPU a Break, Not a Headache ⚡ TL;DR Want the longest streak of 1s in a binary array? Count as… Discover More
The O(n) Club2 Min Read dgtalbugonJuly 15, 2025 The O(n) Club: BST to Greater Sum Tree: The Rich Get Richer (and So Do You) The O(n) Club: BST to Greater Sum Tree — The Rich Get Richer (and So Do You) ⚡ TL;DR Want every node in your BST to suddenly feel wealthier?… Discover More
The Side Effect Club3 Min Read dgtalbugonJuly 15, 2025 The Side Effect Club: Airtable: Simplifying Databases for the No-Code Generation The Side Effect Club: Airtable: Simplifying Databases for the No-Code Generation The Rise of Airtable: Sweeping Database Dinosaurs off their… Discover More
The O(n) Club1 Min Read dgtalbugonJuly 14, 2025 The O(n) Club: Binary Linked List Conversion Without The Fuss The O(n) Club: Binary Linked List Conversion Without The Fuss ⚡ TL;DR Binary in a singly linked list (MSB at the head) goes to decimal. One… Discover More
The O(n) Club1 Min Read dgtalbugonJuly 14, 2025 The O(n) Club: Stock Span, Stacks, and the Brute-Force Blues The O(n) Club: Stock Span, Stacks, and the Brute-Force Blues ⚡ TL;DR Every day, a stock price appears. For each, report how many days in a row… Discover More
The O(n) Club2 Min Read dgtalbugonJuly 13, 2025 The O(n) Club: Sum of Two Integers — Because Who Needs a Plus Sign? The O(n) Club: Sum of Two Integers — Because Who Needs a Plus Sign? ⚡ TL;DR Your boss took away + and -, but you still have to add two… Discover More