Showing Posts From

Techniques

Sliding Window Algorithm – Fixed & Variable Length

Sliding Window Algorithm – Fixed & Variable Length

Master the sliding window technique for solving subarray and substring problems. Learn when to use fixed vs variable windows, common patterns, and how to optimize with two-pointer strategies.

Two Pointers Algorithm – Intuition & Patterns

Two Pointers Algorithm – Intuition & Patterns

Understand the two pointers technique and how it simplifies array and string problems by reducing nested loops. Learn key patterns, types of pointer movement, and when to apply this strategy effectively.