1️⃣ What is Sliding Window?


Sliding Window is an algorithmic technique used to efficiently process a contiguous subarray / substring of fixed or variable size within an array or string.

Instead of recomputing values for every subarray from scratch, we reuse previous computation while moving the window forward.

👉 Think of it as a window of size...