Min window substring

2nd step mai jaab hamare window [elllaoe] hai toh sir ne first e remove kia but ye algo ke acc galat hai cause algo mai he said hum taab he remove karenge agar current window mai vo element excess mai hai yaa fir vo pattern se match ni karra

but hume pattern mai 2 e chaiye and current window mai sirf 2 he e hai toh how did he removed it and expanded the window for adding another e???

It is not removed when window is,

rather when window is [elllaoee].