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