What’s the main differences between TWO POINTERS and SLIDING WINDOW ?
Im pretty sure 2 pointers focuses on individual elements and sliding window focuses on a larger range of elements
What’s the main differences between TWO POINTERS and SLIDING WINDOW ?
Im pretty sure 2 pointers focuses on individual elements and sliding window focuses on a larger range of elements