1 count doubt 865e

Please help me with the approach to this question.I am not able to find the correct approach to it.

Hi AASTHA, hint for this question is, use 2 iterators who can be as far away from each other till the count of zeroes between does not exceed k.
Hope this helps :slight_smile:

Hey Aastha, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.