Skip to content

Problem Family Derivation

Base template problems and their derived variants. Learn the base pattern first, then apply to variants with small modifications.

SubstringSlidingWindow

🎯 Base Template: LeetCode 3 - Longest Substring Without Repeating Characters

Canonical sliding window template with last-seen index array. Uses jump optimization instead of while-loop contraction. This is the BASE TEMPLATE for all SubstringSlidingWindow problems.

Derived Problems