I having trouble understanding this line 10 in the solutions:
if (window_end <= k - 1) {
I understand that we are trying to set a window to size k. but why are we subtracting 1?
Any help would be great… Thank You!
I having trouble understanding this line 10 in the solutions:
if (window_end <= k - 1) {
I understand that we are trying to set a window to size k. but why are we subtracting 1?
Any help would be great… Thank You!
Is this the best place for support?