Technique
Sliding window
Keeping a moving range over a sequence to answer substring and subarray questions in one pass.
Learn firstArrays
Sliding window
What should you learn before Sliding window?
- ArraysOrdered lists of values with index access; the base of most data-structure problems.
Practise Sliding window
- Longest Substring Without RepeatsCoding problem · medium