Back to course home
0% completed
Vote For New Content
if (windowEnd >= pattern.length() - 1) { // shrink the window
Sachin Dev S
Nov 3, 2024
should this not be windowStart-windowEnd+1 which gives the size and then compare it with the size of the pattern?
after a while it will always be true
0
0
Comments
Comments
On this page