The O(n) Club2 Min Read dgtalbugonJuly 1, 2025 The O(n) Club: Wiggle Subsequence — Try Not To Flatline The O(n) Club: Wiggle Subsequence — Try Not To Flatline ⚡ TL;DR Find the length of the longest up-down-up-down (no meh in the middle)… Discover More
The O(n) Club3 Min Read dgtalbugonJuly 1, 2025 The O(n) Club: LRU Cache—Because Algorithms Have Bouncers The O(n) Club: LRU Cache—Because Algorithms Have Bouncers ⚡ TL;DR Stop letting your cache become a digital landfill. The LRU (Least Recently… Discover More
The O(n) Club3 Min Read dgtalbugonJuly 1, 2025 The O(n) Club: Number of Islands — Why Diagonal Swimming Doesn’t Count The O(n) Club: Number of Islands — Why Diagonal Swimming Doesn’t Count ⚡ TL;DR Given a grid of ‘1’s (land) and… Discover More