ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
NICE SUPER EXCELLENT MOTIVATED
Thanks a lot 😊
what is the use of set1.remove(s[l]) ? set wont allow duplicates right
we are not removing s[r] we are trying to remove all characters in the window till we remove s[r].By doing that we can create a new window and start checking the longest substring.
NICE SUPER EXCELLENT MOTIVATED
Thanks a lot 😊
what is the use of set1.remove(s[l]) ? set wont allow duplicates right
we are not removing s[r] we are trying to remove all characters in the window till we remove s[r].By doing that we can create a new window and start checking the longest substring.