L12. Minimum Window Substring | 2 Pointers and Sliding Window Playlist

Поделиться
HTML-код
  • Опубликовано: 25 мар 2024
  • Notes/Codes/Problem links under step 10 of A2Z DSA Course: takeuforward.org/strivers-a2z...
    Entire playlist: • Two Pointer and Slidin...
    Follow us on our other social media handles: linktr.ee/takeuforward

Комментарии • 194

  • @Beeplov2337568
    @Beeplov2337568 Месяц назад +27

    There was a slight mistake in the video.
    1]. l++ in the while(cnt==m).
    2]. It should be mp[s[l]]++; instead of mp[s[l]]--; in while(cnt==m) loop.
    string minWindow(string s, string t) {
    int l = 0, r=0;
    int n = s.size(), m = t.size();
    int cnt = 0, minLen = 1e7;
    int startInd = -1;
    mapmp;
    for(int i=0;i

  • @AyushVerma-wu3nn
    @AyushVerma-wu3nn 3 месяца назад +42

    I think there are two points of Correction, that must have been missed :
    1. hash[s[l]]++ as we are removing it while shrinking the string len.
    2. we need to increment the l pointer at the end of the while loop where while(count == m).
    Striver did a great job!
    Thanks

    • @venkatsai2325
      @venkatsai2325 2 месяца назад +1

      yeah u are right

    • @tharungr7701
      @tharungr7701 Месяц назад

      can you please paste the code here

    • @preetkhatri2518
      @preetkhatri2518 Месяц назад +1

      @@tharungr7701 here you go
      string minWindow(string s, string t) {
      int n=s.size(),m=t.size();
      map mp;
      int l{},r{},cnt{};
      int len{1000000009},idx=-1;
      for(int i=0;i0) cnt--;
      if(r-l+1

    • @mohitsingh6717
      @mohitsingh6717 Месяц назад

      @@tharungr7701 string minWindow(string s, string t) {

      string result;
      if(s.empty() || t.empty())
      {
      return result;
      }
      unordered_map hash;
      for(int i = 0 ; i < t.size(); i++)
      {
      hash[t[i]]++;
      }
      int minlen = INT_MAX;
      int count = 0 ;
      int sindex = 0 ;
      int r = 0 , l = 0 ;
      while(r < s.size())
      {
      if(hash[s[r]] > 0 )
      {
      count++;
      }
      hash[s[r]]--;

      while(count == t.size())
      {
      if(r- l +1 < minlen)
      {
      minlen = r-l+1;
      sindex = l;
      }
      hash[s[l]]++;
      if(hash[s[l]] > 0 ) {
      count = count -1;
      }
      l++;
      }
      r = r + 1;
      }
      return minlen ==INT_MAX ? "": s.substr(sindex , minlen);

    • @KapilSharma56419
      @KapilSharma56419 28 дней назад

      @@tharungr7701 class Solution {
      public:
      string minWindow(string s, string t) {
      int n = s.length();
      int m = t.length();
      if (m > n) {
      return "";
      }
      int minLength = INT_MAX;
      int sIndex = -1;
      map mp;
      for (int i = 0; i < m; i++) {
      mp[t[i]]++;
      }
      int l = 0, r = 0;
      int cnt = 0;
      while (r < n) {
      if (mp[s[r]] > 0) {
      cnt++;
      }
      mp[s[r]]--;
      while (cnt == m) {
      if (r - l + 1 < minLength) {
      minLength = r - l + 1;
      sIndex = l;
      }
      mp[s[l]]++;
      if (mp[s[l]] > 0) {
      cnt--;
      }
      l++;
      }
      r++;
      }
      return sIndex == -1 ? "" : s.substr(sIndex, minLength);
      }
      };

  • @nikhilaks2407
    @nikhilaks2407 3 месяца назад +41

    Thank you striver for the awesome playlist🎉🎉🎉🎉
    In the optimal approach there was a slight mistake, inside the nested loop it should be hash[s[l]]++ instead of hash[s[l]]-- and after the check for if(hash[s[l]]>0)cnt--; , a line needs to be added for l++; to shrink the window
    c++ updated code -
    class Solution {
    public:
    string minWindow(string s, string t) {
    if (s.empty() || t.empty()) {
    return "";
    }
    vectorhash(256,0);
    int l=0,r=0,minlen=INT_MAX,sind=-1,cnt=0;
    int n=s.size(),m=t.size();
    for(int i=0;i

    • @MayankPareek
      @MayankPareek 3 месяца назад +1

      Hey can anyone tell me where is the mistake in my code its not passing all test cases.
      class Solution {
      public String minWindow(String s, String t) {
      char[] hash = new char[256];
      for (int i = 0; i < t.length(); i++)
      hash[t.charAt(i)] += 1;
      int l = 0, r = 0, sIndex = -1, minlen = Integer.MAX_VALUE, count = 0;
      while (r < s.length()) {
      if (hash[s.charAt(r)] > 0)
      count++;
      hash[s.charAt(r)] -= 1;
      while (count == t.length()) {
      if (r - l + 1 < minlen) {
      minlen = r - l + 1;
      sIndex = l;
      }
      hash[s.charAt(l)] += 1;
      if (hash[s.charAt(l)] > 0)
      count--;
      l++;
      }
      r++;
      }
      if (sIndex != -1)
      return s.substring(sIndex, sIndex + minlen);
      return "";
      }
      }

    • @varun1017
      @varun1017 2 месяца назад +1

      thank you bhaii

    • @mohitthakur5904
      @mohitthakur5904 2 месяца назад

      @@MayankPareek facing the same error in java.

    • @MayankPareek
      @MayankPareek 2 месяца назад

      @@mohitthakur5904 take integer array instead of char array

    • @deeptitanpure1854
      @deeptitanpure1854 Месяц назад

      @@MayankPareek While initializing the hash you should use : int[] hash = new int[256];
      Was there any reason why you chose to do a: char[] hash = new char[256];

  • @parth_3856
    @parth_3856 3 месяца назад +41

    BTW! LOVED THE NEW WEBSITE INTERFACE.............MORE POWER AND SUCCESS TO YOU STRIVER AND HIS TEAM.

    • @ansulluharuka9243
      @ansulluharuka9243 3 месяца назад +3

      i am not able to login, are you able to?

    • @parth_3856
      @parth_3856 3 месяца назад

      @@ansulluharuka9243 yes! but i think there still some work is being done, so that may have caused u some problem in login, BUT let me tell you it's wind in there.

    • @ManishYadav-yp2mi
      @ManishYadav-yp2mi 3 месяца назад

      @@ansulluharuka9243 same here

    • @user-qx4cr2jh3g
      @user-qx4cr2jh3g 3 месяца назад

      same@@ansulluharuka9243

    • @nothingmuch140
      @nothingmuch140 3 месяца назад +1

      ​@@ansulluharuka9243 Same broo

  • @sandeepyadav-es9yz
    @sandeepyadav-es9yz Месяц назад +4

    completed this playlist today 27-05-2024
    thanks striver!!

  • @nuraynasirzade
    @nuraynasirzade 3 месяца назад +4

    The new website is just amazing! I don't have words to say!!!!!! AMAZING!🤩🤩🤩and all of that for free!

  • @vijeshsshetty
    @vijeshsshetty Месяц назад +1

    Best Playlist on Sliding Window. Thanks Striver !!

  • @ManishKumar-dk8hl
    @ManishKumar-dk8hl 3 месяца назад +15

    recursion ki new playlist bhi le aao
    ( JAVA ) :----
    class Solution {
    public String minWindow(String s, String t) {
    int l=0;
    int r=0;
    HashMap mpp=new HashMap();
    int cnt=0;
    int sindex=-1;
    int minlen=Integer.MAX_VALUE;
    String st="";
    for(int i=0;i

    • @bruvhellnah
      @bruvhellnah Месяц назад

      Aur kitne playlist chahie recursion ke tujhe bhai?

  • @divyanshbhatt8273
    @divyanshbhatt8273 3 месяца назад +1

    thank you striver for this amazing playlist !!

  • @nehasingh8181
    @nehasingh8181 2 месяца назад +3

    Amazing work, Striver! You guys are really doing a great job for us by providing such a brilliant DSA course for free. It's genuinely useful for me. Please upload videos on strings in Striver's A2Z DSA Course/Sheet.......😇

  • @soumodiptajana9001
    @soumodiptajana9001 Месяц назад +1

    Have completed sliding window playlist. Learned many things. Thank you so much...

  • @user-ik3qu5uy5e
    @user-ik3qu5uy5e 3 месяца назад +2

    loved this sliding window playlist ♥

  • @pratikgupta7373
    @pratikgupta7373 3 месяца назад +6

    Master of consistency🎉

  • @popli10
    @popli10 Месяц назад

    Thanks Striver. Will always be grateful to you big brother

  • @mukeshjadhav1064
    @mukeshjadhav1064 3 месяца назад +3

    Hi striver , best series in the whole world and can you please bring playlist on basics of string

  • @kushal8261
    @kushal8261 3 месяца назад +24

    it should be hash[s[left]]++

  • @vineetsingh4707
    @vineetsingh4707 3 месяца назад +12

    Completed this whole playlist in a single day. Thanks Striver for this. The way you teach makes me sit for long, think and implement and gradually the concepts start getting crystal clear.

    • @Lm-mu1up
      @Lm-mu1up 3 месяца назад +4

      like all of the 283? videos

    • @lakshsinghania
      @lakshsinghania 2 месяца назад +1

      @@Lm-mu1up lmao

    • @Tushar_995
      @Tushar_995 2 месяца назад

      @@lakshsinghania Hey ! Is sequence of this playlist proper and completed ?

    • @lakshsinghania
      @lakshsinghania 2 месяца назад

      @@Tushar_995 yeah it is, u can blindly follow it just the last qs which is given in the A2Z sheet is not covered here, otherwise good to go

    • @Tushar_995
      @Tushar_995 2 месяца назад

      @@lakshsinghania Ok ! I was thinking to start DSA but was confused between a LOT of channels and paid courses

  • @Abhinavkirtisingh
    @Abhinavkirtisingh 3 месяца назад +2

    Hey Striver,
    I watch all of your videos and love the way you explain things. I am stuck on a problem called Josephus Problem from a quite long time. Please make a video on it.

  • @akashharad4203
    @akashharad4203 2 месяца назад

    Thank you you are so much hard working keep doing we have less good resources to learn like you

  • @stith_pragya
    @stith_pragya 2 месяца назад +1

    Understood...Thank You So Much for this wonderful video...🙏🙏🙏

  • @hetpatel7399
    @hetpatel7399 3 месяца назад +1

    New website is very good.... Nice work sir;🎉

  • @anubhabdas9553
    @anubhabdas9553 20 дней назад +1

    Completed the playlist within a day. Sliding window is usually an easier topic as it is totally intuition based, but to identify the patterns and making a structure for all the solutions, you made it look like piece of a cake. Thanks Striver

    • @captain-ne8qy
      @captain-ne8qy 19 дней назад +1

      Why do we store the starting index in brute foce approach ? Can you please explain it to me?

    • @anubhabdas9553
      @anubhabdas9553 18 дней назад +1

      @@captain-ne8qy in the question we have to return our resultant substring right? So here we are iterating and all. Everything is fine but to return the substring, what do we want .....the first index of the substring, that is from where the substring is starting and the size so that we can calculate at what index the substring is ending, that's why we are storing both the starting index and size of the substring

    • @captain-ne8qy
      @captain-ne8qy 18 дней назад

      Thnqu for the explanation!

  • @Cool96267
    @Cool96267 Месяц назад

    Thankyou so much Striver for all you efforts throughout in delivering us so much valuable content. Any student / working professional can now be able to transition their career without paying money for courses.
    Would also like your insights on the point :
    While preparing for interviews most of the aspirants are going through the videos solely and solving the question after completely watching the video. And also are feeling lazy trying to solve the question on our own. What is the best way to complete any topic without being lazy and how should an aspirant approach any topic/playlist?

  • @user-fw4kz3bb4g
    @user-fw4kz3bb4g 3 месяца назад +4

    MUCH MUCH MUCH love for your efforts @Striver, the new Website UI Rocks!! Also, can you please tell the ETA for string playlist? I'm really holding on from watching others' videos just so that I can follow yours ;)

  • @angeldeveloper
    @angeldeveloper 3 месяца назад +2

    Thanks a ton🎉🎉

  • @torishi82
    @torishi82 Месяц назад

    Understood brother. Thank you so much.

  • @mightytitan1719
    @mightytitan1719 3 месяца назад +1

    Bro's the 🐐

  • @akshatjoshi7928
    @akshatjoshi7928 Месяц назад +1

    I enjoy grasping from your videos StriverBhai !! I wanted to highlight one mistake in code that inside while(cnt==m) you did hash[s[l]]-- but it should be hash[s[l]]++ as the condition is if(hash[s[l]]>0) cnt--; and you forgot to write l++ as well.

  • @mriit3025
    @mriit3025 2 месяца назад +2

    NOTE : MISTAKE in video ⚠⚠⚠⚠⚠⚠
    here is the correct code :
    class Solution {
    public:
    string minWindow(string s, string t) {
    unordered_map freq;
    for(char c : t) {
    freq[c]++;
    }
    int l = 0, r = 0, minLen = INT_MAX, si = -1, cnt = 0;
    while(r < s.size()) {
    if(freq[s[r]] > 0) cnt++;
    freq[s[r]]--;
    while(cnt == t.size()) {
    if(r - l + 1 < minLen) {
    minLen = r - l + 1;
    si = l;
    }
    freq[s[l]]++;
    if(freq[s[l]] > 0) cnt--;
    l++;
    }
    r++;
    }
    return si == -1 ? "" : s.substr(si, minLen);
    }
    };

  • @user-xz5iw1wf9w
    @user-xz5iw1wf9w 3 месяца назад +7

    Make playlist on CP problems for each algorithms atleast 30 each topic from 1200 div to 1800div
    CP SHEET of yours has very less problems except for dp and math 😢

  • @pushkarbopanwar3297
    @pushkarbopanwar3297 25 дней назад +1

    CODE IN C++
    class Solution {
    public:
    string minWindow(string s, string t) {
    unordered_map mpp;
    int l=0,r=0,c=0,m=t.size(),index,minlen=INT_MAX;
    for(int i=0;i

  • @zorith
    @zorith 3 месяца назад +13

    i lost all my progress with the new website update, when i logged in it again and marked my progress i lost it again and it says unautorized . The old website ui was much user friendly and better . The new update just made it more complex to navigate

    • @aditya_raj7827
      @aditya_raj7827 3 месяца назад

      yeah i also lost my progress data

    • @user-ik3qu5uy5e
      @user-ik3qu5uy5e 3 месяца назад

      sign out and sign in again and refresh the page

    • @AmruthavarshiniMavuri
      @AmruthavarshiniMavuri 3 месяца назад

      you can view ur notes under saved notes

    • @justlc7
      @justlc7 2 месяца назад

      ++, lost all data, and new website doesnt save data, keeps reseting.

  • @bhavyashah8219
    @bhavyashah8219 2 месяца назад

    CPP code (Striver style):
    class Solution {
    public:
    string minWindow(string s, string t) {
    vector hashmap(256, 0);
    int L=0,R=0, minlen=INT_MAX, start=-1, cnt=0;
    for(int i=0;i0)
    cnt = cnt - 1;
    ++L;
    }
    R++;
    }
    return start==-1? "":s.substr(start, minlen);
    }
    };

  • @parvahuja7618
    @parvahuja7618 3 месяца назад

    thankyou so so much sir

  • @parassingh3877
    @parassingh3877 Месяц назад +2

    Day 2 of asking
    Hey Striver,
    When can we expect solution videos for Strings, Stack and Queues, few Recursion videos
    as these are on top of queue, for A to Z sheet everyone needs them
    Love your content and teaching methods
    way from Brute to Optimum teaches us alot

  • @jatinsingh7209
    @jatinsingh7209 Месяц назад

    I think there is slight correction in the pseudocode, I made these corrections while doing the problem I am posting it here ya'll can refer to it if you are facing problem, "
    map mp;
    for(int i=0;i

  • @sathwikakovvuri6019
    @sathwikakovvuri6019 8 дней назад

    Impressed

  • @singhji4149
    @singhji4149 3 месяца назад

    Nice video, good learning, but can u cover sliding window plus binary search coding question

  • @adityababu3405
    @adityababu3405 27 дней назад

    class Solution {
    public:
    string minWindow(string s, string t) {
    if (s.empty() || t.empty()) {
    return "";
    }
    vectorhash(256,0);
    int l=0,r=0,minlen=INT_MAX,sind=-1,cnt=0;
    int n=s.size(),m=t.size();
    for(int i=0;i

  • @SuvradipDasPhotographyOfficial
    @SuvradipDasPhotographyOfficial 23 дня назад

    class Solution {
    public:
    string func(string s, string t){
    int n = s.size(), m = t.size();
    int i = 0, j = 0, startindx = -1, minlen = INT_MAX, cnt = 0;
    map freq;
    for(auto a : t){
    freq[a]++;
    }
    while(j < n){
    if(freq[s[j]] > 0){
    cnt++;
    }
    freq[s[j]]--;
    while(cnt == m){
    if(j - i + 1 < minlen){
    minlen = j - i + 1;
    startindx = i;
    }
    freq[s[i]]++;
    if(freq[s[i]] > 0){
    cnt -= 1;
    }
    i++;
    }
    j++;
    }
    cout

  • @xavier4107
    @xavier4107 3 месяца назад

    Bhayy... Please do more videos on this playlist.

  • @sparksfly4421
    @sparksfly4421 13 дней назад +1

    when we are using the left iterator to pop the letter out, shouldn't we use "hash[s[left]]++" to increase the frequency of that letter in the hashmap instead and also add a "left++" after it to keep the "shrinking" going?

  • @tahmidhaque3660
    @tahmidhaque3660 3 месяца назад

    Understood better here Then Apna college channel

  • @--KarthikeyanS
    @--KarthikeyanS 3 месяца назад

    hey Striver ,you forgot to increment the l pointer and also in hash[s.charAt(l)]--; it should decrese the number but the value is increasing (example for d -> -2 if we perform hash[s.charAt(l)]--; (-2-1 => -3) so it should be hash[s.charAt(l)]++; (-2+1 => -1)
    thanks for the amazing Playlist.

  • @tanaygada914
    @tanaygada914 20 дней назад

    if anyone needs corrected code
    string minWindow(string s, string t) {
    int right=0, left=0, n = s.size();
    map mp;
    for(auto i : t){
    mp[i]++;
    }
    int minLen = INT_MAX;
    int startInd = -1;
    int cnt = 0;
    int m = t.size();
    while(right0) cnt++;
    mp[s[right]]--;
    while(cnt==m){
    if(minLen>right-left+1){
    minLen = right-left+1;
    startInd = left;
    }
    mp[s[left]]++;
    if(mp[s[left]]>0) cnt--;
    left++;
    }
    right++;
    }
    if(startInd==-1) return "";
    return s.substr(startInd,minLen);
    }

  • @debjitdutta17
    @debjitdutta17 20 дней назад

    GOAT

  • @prabhatkumarmishra4766
    @prabhatkumarmishra4766 3 месяца назад +1

    Pro 🔥

  • @ashishpradhan6250
    @ashishpradhan6250 5 дней назад +1

    Op...mind blowing algorithm

  • @nareshAdhe995
    @nareshAdhe995 3 месяца назад +5

    Stacks And Ques Ki Playlist Lao Bhaiya Pls

  • @MayankPareek
    @MayankPareek 3 месяца назад

    last question video of two pointer and string playlist, drop it soon please

  • @abhinanda7049
    @abhinanda7049 Месяц назад

    understood

  • @priyanshugagiya4515
    @priyanshugagiya4515 3 месяца назад +3

    24:40 it should be hash[s[l]]++;
    l++;

  • @user-iz5gb1zt3e
    @user-iz5gb1zt3e Месяц назад +1

    Please make a playlist on Heaps and Priority Queue Sir.
    Since Placement session is going too start requesting you to please upload it soon.
    Please Sir.

  • @ABINITHT
    @ABINITHT 3 месяца назад +1

    striver when will you upload videos on strings in AtoZ dsa playlist,please upload the video

  • @iamnoob7593
    @iamnoob7593 2 месяца назад

    What a playlist , Amazing Thanks Striver

  • @MayankPareek
    @MayankPareek 2 месяца назад +6

    Hey Striver, Its been 40 days. Please upload recursion patten wise video first . because recursion is required in advance topic like DP and graphs. So if we have recursion playlist complete we can go to DP and graph with confidence

    • @anmolbansal4009
      @anmolbansal4009 2 месяца назад

      bhaii tu toh wo nakli binod tharu hai na😂😂......videos bnana chhodh diya kya bhaii??

    • @MayankPareek
      @MayankPareek 2 месяца назад

      @@anmolbansal4009 yes right now , I have a job in Infosys.

    • @anmolbansal4009
      @anmolbansal4009 2 месяца назад

      @@MayankPareek ache videos bnata tha bhaii.....main dekhta tha tere videos.....band kyu krde....dobara shuru kr bhai bnana videos

  • @MayankPareek
    @MayankPareek 3 месяца назад +3

    Hey can anyone tell me where is the mistake in my code its not passing all test cases.
    class Solution {
    public String minWindow(String s, String t) {
    char[] hash = new char[256];
    for (int i = 0; i < t.length(); i++)
    hash[t.charAt(i)] += 1;
    int l = 0, r = 0, sIndex = -1, minlen = Integer.MAX_VALUE, count = 0;
    while (r < s.length()) {
    if (hash[s.charAt(r)] > 0)
    count++;
    hash[s.charAt(r)] -= 1;
    while (count == t.length()) {
    if (r - l + 1 < minlen) {
    minlen = r - l + 1;
    sIndex = l;
    }
    hash[s.charAt(l)] += 1;
    if (hash[s.charAt(l)] > 0)
    count--;
    l++;
    }
    r++;
    }
    if (sIndex != -1)
    return s.substring(sIndex, sIndex + minlen);
    return "";
    }
    }

    • @aspirant8409
      @aspirant8409 2 месяца назад

      take Integer array instead of CharArray

    • @MayankPareek
      @MayankPareek 2 месяца назад

      @@aspirant8409 thanks brother

  • @akansha538
    @akansha538 3 месяца назад +1

    bhaiya recursion aur greedy ki bhi ek playlist bana do pls

  • @arfangalib3070
    @arfangalib3070 3 месяца назад

    Hello , striver , in your dsa a-z course , in step 17 and 18, tries and strings some videos are missing , will be soon said , would these videos come ?

  • @kanakagarwal1276
    @kanakagarwal1276 3 месяца назад

    Done

  • @codeguy21
    @codeguy21 3 месяца назад +1

    bhaiya , plz upload remaining topics like strings , stack nd queue plzz

  • @vikkaashl
    @vikkaashl 2 месяца назад

    pls post java collections vidoes
    it will be very usefull for the people who are solving the problems in java

  • @MagicDiamondUniverse
    @MagicDiamondUniverse 3 месяца назад

    Please put separate solution videos for all the graph questions

  • @shashanknakashe3339
    @shashanknakashe3339 24 дня назад

    thanks striver for this problem statement
    here is the optimal solution with comments that will help me and you when we do revision for this type of question
    class Solution {
    public:
    string minWindow(string s, string t) {

    // if(s == t) return s; // if the both strings are equal then we dont have to go down;
    int cnt = 0;
    int minLen = INT_MAX;
    int l= 0;
    int r =0;
    int n = s.size();
    int index = 0;

    //creating the hash map to keep therecord of the value
    unordered_map mpp;
    for(int i =0 ; i< t.size(); i++){
    mpp[t[i]]++; //making flags so that they will help us for the count;
    }
    while(r= 0){
    cnt ++;
    }
    //making the condition for the count
    while(cnt == t.size()){
    //setting the index according the min length
    if(r-l+1 < minLen){
    index = l; //then you update the index;
    }
    //first we get the current length and compaire it with our minLen
    minLen = min( minLen, r-l+1);

    //now we try to shrink the substring therefore we move l++;
    mpp[s[l]]++;
    if(mpp[s[l]] == 1){
    cnt = cnt-1;
    }
    l++;
    }
    //after shirinking we need to extend
    r++;
    }
    //if wwe want to send "" string as an output
    if(minLen == INT_MAX) return "";
    //getting the stirng by the size minLen // index to minLen; wala part
    return s.substr(index, minLen);
    }
    };
    keep liking this comment so youtube will notify me about this imp question :) :)

  • @mohankkkrishna8036
    @mohankkkrishna8036 3 месяца назад

    Would you please make a videos on strings 😊😊😊

  • @akashsoam7581
    @akashsoam7581 3 месяца назад

    prefix sum playlist too. Please sird

  • @souviksen5177
    @souviksen5177 3 месяца назад

    video me konsa whiteboard use kiya hai ?

  • @vedangpandey4703
    @vedangpandey4703 3 месяца назад

    Hello Striver,
    the menu bar does no longer contain a link to tree Series in sub Category "DSA playlist". i was actually near to completion with only four questions left when the website suddenly updated could you please add the category again . thank you followed your playlist to the end.
    "A problem in website in takeuforward."

  • @vaibhavagarwal1479
    @vaibhavagarwal1479 Месяц назад

    1 Question remains from the sheet, Completed on 26/05/2024 (10:58 PM)

    • @hetpatel7399
      @hetpatel7399 Месяц назад +1

      Can u give me a code snippet ..

  • @MayankPareek
    @MayankPareek 2 месяца назад +1

    Hey Striver, I know you have very busy schedule but please drop playlist quicker. Because I started Binary tree as all other playlist before it was completed. But on the hard question it require proper knowledge of Queue and Stack , Priority Queue. Which is not completed in the playlist. So learning became difficult. Hope you understand.

  • @kailashnaidu8268
    @kailashnaidu8268 3 месяца назад

    Bro i have a doubt if the hash[s[left]]-- then the character to be inserted to the hash right but hash[s[left]] to be incremented to reduce the value if it is positive then count should be decremented please resolve my doubt bro

  • @franciskp9117
    @franciskp9117 3 месяца назад

    Hey man can you upload the solution for minimum window subsequence also ?

  • @AyushMishra-lb6do
    @AyushMishra-lb6do 3 месяца назад

    some issue occurs in your website take you forward when i click mark option page says unauthorised please solve it ..

  • @limitless6189
    @limitless6189 3 месяца назад +2

    string playlist when

  • @pranavmisra5870
    @pranavmisra5870 2 месяца назад

    GFG links are back guys!!!

  • @brp3522
    @brp3522 3 месяца назад +2

    Anyone else is having issues with the new website? I am seeing unauthorized. As soon as I sign it is all fine but when I go to A2Z sheet or any section of the website it says that Unauthorized. Why is it happening

    • @anmolbansal4009
      @anmolbansal4009 2 месяца назад

      did u get the solution to correct it?

  • @mohitjangid0027
    @mohitjangid0027 2 месяца назад

    Bhaiya please upload video in A2Z playlist because you only hope for me

  • @Surenkumard
    @Surenkumard 3 месяца назад

    🔥🔥🔥🔥🔥

  • @Sharath_Codm
    @Sharath_Codm 2 месяца назад +2

    Please update string videos 😥

  • @nakulprabhu2980
    @nakulprabhu2980 Месяц назад

    sir can u please start strings
    i m a second year student and any test i give it asks for string dsa to be solved

  • @saravna
    @saravna 2 месяца назад

    Having trouble in accessing the website, the progress is not getting updated, it shows "Unauthorized" error message

  • @amansinghal2431
    @amansinghal2431 3 месяца назад +2

    Hey Striver, I am unable to login to the AtoZ dsa sheet after you updated it. Logged in through google earlier. Could you please check?

    • @rock8938
      @rock8938 3 месяца назад +1

      Same issue with me

  • @tejasjaulkar9658
    @tejasjaulkar9658 3 месяца назад

    when we click on open in new tab (video)both videos started and sounds mixed together .....so may be we can inhace this loop hole of new website master

  • @balabala9351
    @balabala9351 2 месяца назад

    Where to get class notes

  • @Myanmartiger921
    @Myanmartiger921 3 месяца назад +1

    Anyone completed the playlist anything that is missing?

  • @priyankarkoley
    @priyankarkoley 3 месяца назад

    A minor mistake at 24:28 -- it would be "hash[s[L]]++;"

  • @rock8938
    @rock8938 3 месяца назад +1

    I am unable to login with my google account after update

  • @muralidharan6552
    @muralidharan6552 3 месяца назад

    Why is the backend down??

  • @limitless6189
    @limitless6189 3 месяца назад +3

    we need stringsssss

  • @user-lt2ie8ys3n
    @user-lt2ie8ys3n 27 дней назад

    In the first approach, the nested for loop should be from j=i to n instead of j=0 to n, because we are checking for each substring
    DOES ANYBODY THINKS THE SAME ?

  • @crazydude8333
    @crazydude8333 3 месяца назад +1

    Bhai dsa retain nhi hota brain me imagine karna me problem hota hai koi solution btaye

  • @gvrreddy2756
    @gvrreddy2756 2 месяца назад

    can some one tell why it's coming unauthrized when ever i open sde sheet in browser. The issue is been from many days

  • @priyaanshusoni
    @priyaanshusoni 2 месяца назад

    Bss Ab STRINGS ki playlist le aao bhaiya please !

  • @nikhil_squats
    @nikhil_squats 2 месяца назад

    bhaiya new series kab? squat champ is waiting

  • @vamsikrishna2798
    @vamsikrishna2798 3 месяца назад

    what u did to TFU website man , crashing a lot ..
    some login issue and token refresh not happening properly looks like
    But good UI , just fix login issues ...

  • @kaushikpal1187
    @kaushikpal1187 3 месяца назад

    Bhaiya i faced some issues with new website, can you please fix it 🙏🙏. Every time i tried to read about the topic it shows unauthorised

  • @maanavgurubaxani4166
    @maanavgurubaxani4166 3 месяца назад +1

    bhaiya website update hone ke baad jab koi bhi topic ke article kholte hai to undefined tutorial likha ata hai....The articles are not opening.If possible please resolve this issue as soon as possible.It will be a great help.Thank you.....

  • @SOURAVROY-ko3os
    @SOURAVROY-ko3os 3 месяца назад

    In the Brute Force Solution 'j' should be start from 'i', rather than '0'.

  • @tousifjaved3485
    @tousifjaved3485 3 месяца назад

    Bit Manipulation series over?

  • @ramakrishnakcr4417
    @ramakrishnakcr4417 3 месяца назад

    website solution link not working