About the code of the qstn

where are we updating or expanding the window size?

hello @Senjuti256
pls mention the code that u r refering

the code that is being taught by bhaiya in the video

@Senjuti256

here the outer loop is for expansion i,e it is acting is right end of the string we keep on expanding utill we get all required characters.

now inside loop is for shrinking it is acting as left end of string we will increment to right side if we get all the required characters

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.