Least You Need to Know: Two Pointers, Sliding Windows, and String Scans
Les openen
Many interview string problems are not about deep string theory. They are about keeping a **contiguous window** consistent while scanning left to right. The key question is what summary of the current window lets you expand, shrink, and answer the prompt in overall linear time.