Leetcode 3. Longest Substring Without Repeating Characters

preview_player
Показать описание
Given a string s, find the length of the longest substring without repeating characters.
Example 1:

Input: s = "abcabcbb"
Output: 3
Explanation: The answer is "abc", with the length of 3.
Example 2:

Input: s = "bbbbb"
Output: 1
Explanation: The answer is "b", with the length of 1.
Example 3:

Input: s = "pwwkew"
Output: 3
Explanation: The answer is "wke", with the length of 3.
Notice that the answer must be a substring, "pwke" is a subsequence and not a substring.
Example 4:

Input: s = ""
Output: 0

Рекомендации по теме
Комментарии
Автор

Your explanation is the only one that i fully understood out of many videos on Youtube for this leetcode question . Thank you so much! keep up the good work ;)

mappa
Автор

underrated channel, ,your code and explanations are always very easy to understand makes a difficult question easy :)

arshdeep
Автор

By far the best explanation of this problem!

noober
Автор

Awesome explanation, after spending 2-3hr on yt i found this video. Thanks.

_h_sudhanshukumar
Автор

Thanks🤓, and congrats on reaching 5k subs 🔥.

IllIIIIIIllll
Автор

after 2 hours your explaination helps me to understand the logic.Many many thanks from my heart

psychology
Автор

Indeed you don't have much resourses but still your video content is awesome. Please keep posting such videoes.
I will definitely like to contribute for your channel whenever i get placed.

RISHABHSINGH-zzej
Автор

i am studying from your channel, you are the only hope for dsa. Thanks for such amazing content

ASHUTOSHSHARMA-ushd
Автор

I used to think that girls are not good at coding same as driving haha ...

But you are amazing ...

Really better than others ... your logics are straight forward and easy to understand ... and you use data structure ...
Very nice ...


Love from Delhi ...

neeraj-ue
Автор

thank you Alisha for explaining this, literly no one can explian better than you..I have seen many youtubers but you are different, keep it up..

Kamzmal
Автор

Tysm alisha, you have no idea how useful this video was to me <3

TheWhiteKnightUSA
Автор

Your Explanation is so amazing, after understand the approach i am able to solve the question 🙏

madhabtripathy
Автор

Thank you for the nice explanation the way you explained the problem literally i felt like it was very understable and simple ...hats off to you!!

RiteshYadav-mv
Автор

your explanation really helped me solve a lot of leetcode problems thank you madam

saichaithrik
Автор

dude this explanation was jus too good .

rony-vnep
Автор

Very easy explanation. thank you so much ♥♥

durgeshkushwaha
Автор

I have been searching for the best explanation for this problem since 1 month n my search ended unto you...great explanation thankyou soo much...

apekshashinde
Автор

The way you are explaining is amazing .

saraswatirathore
Автор

your videos are beginner friendly.. thank u

SweetSona-ommt
Автор

very nice memmmm you are a best teacher .. Thanks For Making Good Contain : )

darshankalathiya
visit shbcf.ru