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

0% completed

Vote For New Content
Not sure if my solution is O(N) or O(N^2) with the inner while loop. I thought f...

Anthony DiFede

Nov 14, 2022

Not sure if my solution is O(N) or O(N^2) with the inner while loop. I thought from the perspective of moving the window until there were only a max of k zeros in it. Image

0

0

Comments
Comments

On this page