The O(n) Club2 Min Read dgtalbugonJanuary 26, 2025 The O(n) Club: Anagrams Don’t Sort Themselves (But You Can Make Them Try) The O(n) Club: Anagrams Don’t Sort Themselves (But You Can Make Them Try) ⚡ TL;DR Grab all the strings that are anagrams, put them in… Discover More
The O(n) Club2 Min Read dgtalbugonJanuary 26, 2025 The O(n) Club: Kth Largest Java Throwdown (Why Sorting Alone Won’t Save You) The O(n) Club: Kth Largest Java Throwdown (Why Sorting Alone Won’t Save You) ⚡ TL;DR If you’re after the Kth largest element in a… Discover More
The O(n) Club2 Min Read dgtalbugonJanuary 25, 2025 The O(n) Club: Longest Consecutive Sequence: Arrays, Coffee, and Why HashSets Are Your Real Friends The O(n) Club: Longest Consecutive Sequence — Arrays, Coffee, and Why HashSets Are Your Real Friends ⚡ TL;DR Unsorted array, need the longest… Discover More
The O(n) Club3 Min Read dgtalbugonJanuary 25, 2025 The O(n) Club: Subsets (Power Set): Why Your Algorithmic FOMO Is Actually Required The O(n) Club: Subsets (Power Set): Why Your Algorithmic FOMO Is Actually Required ⚡ TL;DR You need every possible subset of a set of unique… Discover More
The O(n) Club2 Min Read dgtalbugonJanuary 24, 2025 The O(n) Club: Word Search – When DFS Meets a Letter Maze The O(n) Club: Word Search – When DFS Meets a Letter Maze ⚡ TL;DR Take a grid of letters, try to trace your chosen word by hopping between… Discover More
The O(n) Club2 Min Read dgtalbugonJanuary 24, 2025 The O(n) Club: Binary Tree Maximum Path Sum, Now With Extra Chaos The O(n) Club: Binary Tree Maximum Path Sum, Now With Extra Chaos ⚡ TL;DR Hunt for the highest-sum path in your binary tree. This path can… Discover More
The O(n) Club2 Min Read dgtalbugonJanuary 23, 2025 The O(n) Club: Course Schedule (LeetCode 207): How Not to Major in Infinite Loops The O(n) Club: Course Schedule (LeetCode 207): How Not to Major in Infinite Loops ⚡ TL;DR This is a “can you finish all your… Discover More
The O(n) Club1 Min Read dgtalbugonJanuary 23, 2025 The O(n) Club: First Missing Positive—That Sneaky Little Integer You Forgot The O(n) Club: First Missing Positive—That Sneaky Little Integer You Forgot ⚡ TL;DR Your dev lead wants the smallest missing positive integer… Discover More
The O(n) Club3 Min Read dgtalbugonJanuary 22, 2025 The O(n) Club: Largest Rectangle in Histogram: Unleash the Monotonic Stack Mayhem The O(n) Club: Largest Rectangle in Histogram – Unleash the Monotonic Stack Mayhem ⚡ TL;DR Want to find the biggest rectangle under a… Discover More
The O(n) Club2 Min Read dgtalbugonJanuary 22, 2025 The O(n) Club: Single Number — How XOR Outsmarts Everyone at the Coding Party The O(n) Club: Single Number — How XOR Outsmarts Everyone at the Coding Party ⚡ TL;DR The infamous Single Number problem: there’s one oddball… Discover More