Sliding Window Technique and 7 Problems to Master it
Sliding window is a really popular technique used to solve complex problems related to Strings and Arrays. It generally reduces the time complexity of a solution from O(N2) to O(N).
The idea is to make a window of certain length that will satisfy the...
varchasvh.hashnode.dev2 min read