educative.io

Educative

Bug in python version of brute force solution

There is a bug in line 3 of python version of brute force solution.
outer for loop should run until len(arr)-k+1

Thanks @Ravi_Kumar_Bansal for pointing this out! We have corrected it.