ฝึกคณิตศาสตร์ไม่ต่อเนื่อง

Sliding Window Strings

เรียกดูบทเรียน Sliding Window Strings ภายใน Algorithmic Thinking and Complexity

1 บทเรียน · 5 คำถาม

Algorithmic Thinking and Complexity

Big-O, loop analysis, graph algorithms, invariants, and developer-focused discrete math.

1 บทเรียน · 410 คำถาม

Sliding Window Strings

1 บทเรียน · 5 คำถาม

Least You Need to Know: Two Pointers, Sliding Windows, and String Scans
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.
เปิดบทเรียน