Back to course home
0% completed
Vote For New Content
is this a sliding window pattern? I can't see how it is both sliding window and ...
Kiriyama Rei
Jul 22, 2022
is this a sliding window pattern? I can't see how it is both sliding window and two pointers at the same time.
0
0
Comments
Comments
D
Daniel 3 years ago
This is how I think of it: 2 pointers to keep track of window boundaries. The window contains all the numbers to multiply to form a product.
A
Ayden 3 years ago
Sliding window utilizes the two pointers method to make it happens.
On this page