The O(n) Club2 Min Read dgtalbugonFebruary 3, 2025 The O(n) Club: Surviving the Longest Valid Parentheses Without Therapy The O(n) Club: Surviving the Longest Valid Parentheses Without Therapy ⚡ TL;DR You get a string of ‘(‘ and ‘)’. Your… Discover More
The O(n) Club3 Min Read dgtalbugonFebruary 1, 2025 The O(n) Club: Decode String — When Brackets Join the Circus The O(n) Club: Decode String — When Brackets Join the Circus ⚡ TL;DR Unravel those cryptic nested bracket strings like 3[a2[c]] into… Discover More
The O(n) Club3 Min Read dgtalbugonJanuary 30, 2025 The O(n) Club: Edit Distance — When Strings Need Surgery (LeetCode 72) The O(n) Club: Edit Distance — When Strings Need Surgery (LeetCode 72) ⚡ TL;DR How do you transform one string into another with as few… Discover More
The O(n) Club3 Min Read dgtalbugonJanuary 30, 2025 The O(n) Club: Regular Expression Matching — When ‘.’ and ‘*’ Run the Show The O(n) Club: Regular Expression Matching — When ‘.’ and ‘*’ Run the Show ⚡ TL;DR Match string s against pattern p… Discover More
The O(n) Club2 Min Read dgtalbugonJanuary 10, 2025 The O(n) Club: Valid Parentheses — The Stack That Holds Your Code (and Life) Together The O(n) Club: Valid Parentheses — The Stack That Holds Your Code (and Life) Together ⚡ TL;DR You’re asked: Given a string of brackets… Discover More
The O(n) Club2 Min Read dgtalbugonJanuary 8, 2025 The O(n) Club: Generate Parentheses — How to Host a Backtracking Party (No Unmatched Guests) The O(n) Club: Generate Parentheses — How to Host a Backtracking Party (No Unmatched Guests) ⚡ TL;DR Want every way to juggle n pairs of… Discover More