Longest sub string without repeating characters [TAMIL] | Sliding window algorithm

  Рет қаралды 5,486

pradeesh tet

pradeesh tet

Күн бұрын

As part of the interview preparation series, today we will see the sliding window technique to solve the longest sub-string without repeating the character program in leet code. For example, the longest substrings without repeating characters for “ABDEFGABEF” are “BDEFGA” and “DEFGAB”, with length 6. For “BBBB” the longest substring is “B”, with length 1. The desired time complexity is O(n) where n is the length of the string.

Пікірлер: 7
@pradeeshtet
@pradeeshtet 3 жыл бұрын
In hashMap put the character along with index so that we can directly move j to index without need of while loop
@sivas4207
@sivas4207 2 жыл бұрын
bro I have watched many tutorials for this leetcode problem but couldn't come up with the answer .. but this video helped and cleared all my doubts. Thank you so much, dude!!
@kumaresanperumal2581
@kumaresanperumal2581 3 жыл бұрын
I understood sliding window concept Thank you very much bro.
@apjsankar
@apjsankar 3 жыл бұрын
Thanks so much for sharing!! Code looks super cleaning and easy to understand! You deserve more n more subscribers :) btw I'm a php developer;)
@pradeeshtet
@pradeeshtet 3 жыл бұрын
Thanks. I always try to explain the concept clearly so that ppl who knw any programming language can able to solve it at the end. Now, from ur feedback I got to knw that it worked.
@chandrakumara6534
@chandrakumara6534 3 жыл бұрын
Nice Explanation bro. Thank you !
@chandrakumara6534
@chandrakumara6534 3 жыл бұрын
could you share the leed code link in the comment section so that we can use the link and try from our end . It will helpful. Thank you !
Merge intervals leet code problem with solution [Tamil]  | 24L CTC
18:35
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Sliding Window Technique - Algorithmic Mental Models
36:45
Ryan Schachte
Рет қаралды 374 М.
Maaman machan Paavangal | Parithabangal
16:12
Parithabangal
Рет қаралды 947 М.
Sliding window technique - Inside code
9:07
Inside code
Рет қаралды 106 М.
Leetcode 3. Longest Substring Without Repeating Characters
15:49
Code with Alisha
Рет қаралды 76 М.