Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
"if window_end >= len(pattern) - 1" could be replaced by "if window_end == len(p...

Douglas

Dec 5, 2022

"if window_end >= len(pattern) - 1" could be replaced by "if window_end == len(pattern) - 1" ? Because our window never gets > than len(pattern) - 1

0

1

Comments
Comments

On this page