Interview preparation course

Sliding window

Sliding window based problems are asked commonly in interviews especially Facebook and Amazon. These problems have a pattern and it’s good to learn those patterns which will help you in your interview.
In this section, we learn more about sliding windows, fixed and variable size windows, and how we apply it to different problems.

Problems set

  1. Longest substring without repeating characters
  2. Longest substring with 2 or K repeating characters
  3. Subarray with K different integers
  4. Longest subarray with K different integers.
  5. Sliding window maximum/Median
  6. The maximum sum in K sized window.
  7. Minimum Window Substring

Leave a Reply

Your email address will not be published. Required fields are marked *