educative.io

Educative

Minimum Window Subsequence

In the solution for Minimum Window Subsequence, I am not able to get why we are using the flag variable. There is no much clarity given in the notes regarding that, can you please help me understand better?

Hey, @Gokul_Nath
Thanks for pointing this out. We have updated the lesson. We hope Educative has inspired you to further your learning. :blush: