Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.6 KB

File metadata and controls

36 lines (22 loc) · 1.6 KB

Sliding Windows

Theory

Sliding Windows

  • Sliding windows is a technique where you use two pointers that either move towards each other or away from each other.

Sliding Windows Applications

  • Sliding windows is used when you need to find a set of elements that fulfill certain constraints.

Sliding Windows Implementation

  • Using two variables.

Sliding Windows Time Complexity

  • O(n)

Sliding Windows Space Complexity

  • O(1)

Problems

Category: Sliding Windows Status: Done Author: David Bujosa