Sliding Window

What are Sliding Window?

  • Sliding Window technique is a common algorithm used in various problem-solving scenarios, particularly in computer science
  • It involves maintaining a window of a fixed size that slides over a data structure, typically an array or string
  • As the window moves, calculations or comparisons are made within the current window to find specific patterns, subarrays, or optimal solutions

Resources

Concepts explained here are following those from Neetcode’s roadmap

.


Written By

GitHub Contributor Team