Sliding Window (Python)
Definition: A specific type of two-pointers where the pointers define a window (subarray or substring), and this window slides (expands/shrinks) to maintain some property.
Common Usage:
Substring or subarray problems
Problems involving "longest", "...
worldofprogramming.hashnode.dev2 min read