Question Bank

Sliding Window Essentials

Difficulty: Medium

Five mid-level prompts on fixed and variable sliding windows: max sum, longest substring without repeats, and a window-shrink invariant. Mixes implementation and trace.