top of page

Strings

9 problems · Easy to Medium · String patterns and sliding window

String problems test your ability to manipulate character sequences efficiently and recognize when a sliding window can reduce complexity. This track covers foundational problems like palindrome and anagram detection before moving into substring search with KMP and variable-size sliding window problems like Longest Repeating Character Replacement.

Why it matters:

Strings are the second most common interview topic after arrays, and companies like Amazon and Microsoft use them heavily in phone screens. The sliding window pattern introduced in this track recurs across dozens of problems involving subarrays and subsequences — learning it here pays dividends throughout the rest of the course.

01

Valid Palindrome - A Warm Up

02

Valid Anagram

03

First Unique Character in a String

04

Longest Common Prefix

05

Needle In a Haystack - Part 1

06

Longest Substring Without Repeating Characters

07

Minimum Size Subarray Sum

08

Longest Repeating Character Replacement

09

Deriving KMP in Real Time

Drop Me a Line, Let Me Know What You Think

Thanks for submitting!

© 2026 by WhiteboardReady

bottom of page