MINIMUM WINDOW SUBSTRING | LEETCODE # 76 | PYTHON SOLUTION

  Рет қаралды 3,096

Cracking FAANG

Cracking FAANG

Күн бұрын

Пікірлер: 12
@dnm9931
@dnm9931 9 ай бұрын
I go on KZbin and see a Leetcode question done by you that I am trying to solve and it gives me joy. Thank you for existing. You probably see me in all your videos but you’re really amazing and please keep it up!
@crackfaang
@crackfaang 9 ай бұрын
No problem man, thanks for continuing to watch the channel
@YT.Nikolay
@YT.Nikolay 2 жыл бұрын
I had this question, the first time had to watch the explanation, and the second time did not optimally but myself, still had to watch the optimal one, now I put this problem into my backlog! I am going to solve it this time! At least, I have hope :D What would be your advice? I bet you had such a situation, what is the most productive way to get along with it?
@rsKayiira
@rsKayiira 2 жыл бұрын
Great solution. This question isnt super hard but more difficult to implement
@HarishRaoS
@HarishRaoS 2 жыл бұрын
As usual thanks for the awesome explanation. I had a small glitch when i submitted it. It failed for test case "bbaa", "aba" . I had a add a small change to line 20. if cur_char in t_counts and (window_counts[cur_char] == t_counts[cur_char] or ( window_counts[cur_char] > 0 and window_counts[cur_char] < t_counts[cur_char])): matches += 1
@sayeedchowdhury11
@sayeedchowdhury11 Жыл бұрын
I didn't have to change anything, it should work as is
@emekaitegbe2694
@emekaitegbe2694 9 ай бұрын
@HarishRaoS good catch. I also had to make this minor change.
@3rd_iimpact
@3rd_iimpact 9 ай бұрын
Great explanation! Was definitely struggling to grasp this one on my own.
@crackfaang
@crackfaang 9 ай бұрын
It's a fun question, definitely enjoyed this one. Maybe I'm just strange
@PriyamGauravB21EE092
@PriyamGauravB21EE092 3 ай бұрын
Made a minor change in line 20, I wrote the code in C++ so had to write if(mp2.find(s[r])!=mp2.end() && mp2[s[r]]>=mp1[s[r]]), then everything works fine
@sharathkumar8338
@sharathkumar8338 2 жыл бұрын
Even sliding window is important topic. Last time I could not clear the interview because I didn't solve any heap, sliding window, stack and hashMap. Could you solve more problems in these from leetcode ? please ???🥺🥺
@sonicspider49
@sonicspider49 Ай бұрын
Thank you!
DELETE NODES AND RETURN FOREST | LEETCODE # 1110 | PYTHON DFS SOLUTION
15:54
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 16 МЛН
L12. Minimum Window Substring | 2 Pointers and Sliding Window Playlist
27:06
GROUP SHIFTED STRINGS | LEETCODE 249 | PYTHON SOLUTION
15:07
Cracking FAANG
Рет қаралды 3,7 М.
Minimum Window Substring | Sliding Window | LeetCode
18:00
AlgosWithMichael
Рет қаралды 40 М.
Minimum Window Substring | Leetcode #76
16:57
Techdose
Рет қаралды 6 М.
Minimum Window Substring - LeetCode 76 - JavaScript
13:49
AlgoJS
Рет қаралды 3,1 М.
Introducing the "VitaWear SmartBand," a next-generation wearable gadget🎉
0:41
Vrashika Rajput Official
Рет қаралды 7 МЛН