Get Subsequence - Introduction to Arraylists | Recursion | Data Structures and Algorithms in JAVA

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

ความคิดเห็น • 139

  • @preetsinghwal5646
    @preetsinghwal5646 4 ปีที่แล้ว +25

    Sach bolu to mera ek dost hai jisne aapke yaha se classes thi java foundation or level ki or mai bhi java krta tha to mujhe usme bhot improvement dekha maine usse pucha ki bhai kha se kra tune tb usne btaya but mere ghr se bhit tha or fee bhi afford nhi kr skta tha mai kyuki maine already ek course le rakha tha but mujhe aapki video dekhni bhi to maine aone dost se sikhna shuru kr diya tha byt ab aapne foundation free kr diya hai to, mai to bhot khus hu.
    Thank you sir

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว +6

      beta, agar help mil rhi hai to subscriber juta de. Webinar kra de college mei?

    • @preetsinghwal5646
      @preetsinghwal5646 4 ปีที่แล้ว +2

      @@Pepcoding sir ho jayenge subs , aap nhi jante kitne log iske liye ghoom rhe thae idar se udar

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว +12

      dilasa na de bhai. FB, Insta pe share kar do maybe. Class groups mei whatsapp kar de maybe. Help is appreciated.

    • @preetsinghwal5646
      @preetsinghwal5646 4 ปีที่แล้ว +1

      Sir baki maine apne telegram , whatsapp or jha bhi college group h share kr diya h.

    • @preetsinghwal5646
      @preetsinghwal5646 4 ปีที่แล้ว

      @@Pepcoding Nhi sir sach bolra hu telgram pr, or whatsapp pr college ka group hai waha share kiya h

  • @psychotictendency
    @psychotictendency 2 ปีที่แล้ว +3

    I've been dreading recursion and all questions related to it everytime I prepare for interviews. I recently started watching these videos and I'm just amazed at how clearly you've managed to explain these concepts. Thank you so much sir!!

  • @highoncoding2631
    @highoncoding2631 3 ปีที่แล้ว +6

    You are doing great work. I was part of Nagarro when you were there. It's good to see you grow because you deserve it.

  • @paurushgargtube
    @paurushgargtube 3 ปีที่แล้ว +24

    awesome explanation.. I am in awe of how in-depth knowledge is provided methodologically in each topic.. must have taken a lot of effort to compile such intelligent videos and present in such simple terms, such that even people like me (thick head) can connect the dots..

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว +4

      Thankyou beta!
      If you like our efforts, will you like to write a review about us here - g.page/Pepcoding/review?rc

  • @kushalappaca5324
    @kushalappaca5324 3 ปีที่แล้ว +4

    Out of the box thinking.... I was doing this the old way of doing this... Thanks to you pepcoding team..

  • @RahulSharma-oz3dq
    @RahulSharma-oz3dq 3 ปีที่แล้ว +16

    This is the C++ code for this question. Upvote or Pin so that C++ coders can also follow
    vector gss(string s){
    if(s.length()==1){ //In the base case length is taken to be 1 instead of 0 so that it doesnt give any segmentation faults
    vector ans;
    ans.push_back("");
    ans.push_back(s);

    return ans;
    }
    vectorans2 = gss(s.substr(1)); //Answer returned by passing the substring of the original string
    vectorresult;
    int i=0;
    int j=0;
    for(i=0;i

    • @anuragdhyani1712
      @anuragdhyani1712 2 ปีที่แล้ว +5

      vector function_1(string temp) {
      if (temp.size() == 0) {
      return {""};
      }
      string c = temp.substr(0, 1);
      string temp_2 = temp.substr(1, temp.size());
      vector ret = function_1(temp_2);
      vector output;
      for (auto i : ret) {
      output.push_back("" + i);
      output.push_back(c + i);
      }
      return output;
      }
      //better than the above and less confusing

  • @potato-gi1xr
    @potato-gi1xr 3 ปีที่แล้ว +2

    Thank you so much sir.
    your approach of:
    first make expectations and then fulfill it in recursion is working great.

  • @Aish-dm4np
    @Aish-dm4np 4 ปีที่แล้ว +1

    Best channel for Java coding

  • @artisted9910
    @artisted9910 3 ปีที่แล้ว +2

    Sir ekdum feeling aa gya sir, cant express

  • @shreyakotak3754
    @shreyakotak3754 4 ปีที่แล้ว +13

    As usual, super explanation sir!!

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว +1

      I am glad you liked it. I also hope that you are watching till end and trying to understand the what, how and especially why of the problem.
      If you like my efforts, I request a review
      g.page/Pepcoding/review?rc

  • @sarcaastech
    @sarcaastech 3 ปีที่แล้ว +1

    [ c++ solution with no extra space ]
    void print(string inp , string out){
    if(inp.size() == 0){
    cout

  • @alfiyazahra4680
    @alfiyazahra4680 3 ปีที่แล้ว +1

    best concept building lectures by:'Prepcoding'.....

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว +2

      I am glad you liked it. I also hope that you are watching till end and trying to understand the what, how and especially why of the problem.
      If you like our efforts, we request a review
      g.page/Pepcoding/review?rc
      You can subscribe to our channel here
      th-cam.com/users/Pepcodingabout?view_as=subscriber

  • @yogesh3779
    @yogesh3779 4 ปีที่แล้ว +2

    Sir make videos like this one. This video has all the concepts used before doing question and then the explanation of question. Your explanation was so smooth that noone can even forget the explanation after watching video. Make videos like this one, without worrying about the length of video. Absolutely loved it..

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว +3

      Okay beta!
      I am glad you liked it. I also hope that you are watching till end and trying to understand the what, how and especially why of the problem.
      If you like our efforts, we request a review - g.page/Pepcoding/review?rc

    • @thecodersbay8157
      @thecodersbay8157 3 ปีที่แล้ว

      @@Pepcoding Done Sir

  • @aashishgoyal1436
    @aashishgoyal1436 4 ปีที่แล้ว +2

    you r the best teacher in the world. understood it crystal clear. Thanks a lot

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว

      I am glad you liked it. I also hope that you are watching till end and trying to understand the what, how and especially why of the problem.
      If you like my efforts, I request a review
      g.page/Pepcoding/review?rc

  • @gazalchanda7072
    @gazalchanda7072 3 ปีที่แล้ว +2

    Sir, you did proper justice to the explanation. Best explanation sir over whole TH-cam 😍😍🤩🥰

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว +1

      Thankyou beta!
      If you like our efforts, will you like to write a few words about us here (www.quora.com/How-do-I-start-learning-or-strengthen-my-knowledge-of-data-structures-and-algorithms )
      Keep learning and keep loving Pepcoding😊

    • @gazalchanda7072
      @gazalchanda7072 3 ปีที่แล้ว

      @@Pepcoding Absolutely sir..... 🤗🤗

  • @TusharSharma-nh9sf
    @TusharSharma-nh9sf 2 ปีที่แล้ว

    Good Guy, Good Explanation, Good Vibes! Thanks Brother.

  • @ipankaj07
    @ipankaj07 2 ปีที่แล้ว

    Thanks!

  • @LordSarcasticVlogger
    @LordSarcasticVlogger 3 หลายเดือนก่อน

    Very nice explanation sir…thank you very very much

  • @raj_kundalia
    @raj_kundalia 3 ปีที่แล้ว

    Watched on 18 October, 2021 - Thanks for the video.

  • @phoenix_king3463
    @phoenix_king3463 2 ปีที่แล้ว

    It's an outstanding explanation sir thanks a lot for providing such a quality content

  • @tanmaydhawale3532
    @tanmaydhawale3532 3 ปีที่แล้ว

    Man with zero haters!!

  • @ritikshrivastava9442
    @ritikshrivastava9442 3 ปีที่แล้ว +37

    sir this is the first video where it gets little complicated for the one who are learning concept and applying itself(means changing the code to the desired language) like c++

    • @sayanmaitra11
      @sayanmaitra11 3 ปีที่แล้ว +3

      Dil ki baat kehe di apne to 😄🤣

    • @sayanmaitra11
      @sayanmaitra11 3 ปีที่แล้ว +9

      After learning vector.... I think it won't get much difficult😣 😄

    • @adityakajale4403
      @adityakajale4403 3 ปีที่แล้ว

      @@sayanmaitra11 yes

    • @adityakajale4403
      @adityakajale4403 3 ปีที่แล้ว +4

      Language doesn't matter explanation is op

    • @yashodeepdhas8408
      @yashodeepdhas8408 3 ปีที่แล้ว +6

      If u know basics of any language and understand the concept I bet u will do it bro 🤜

  • @dhirendrachauhan3287
    @dhirendrachauhan3287 2 ปีที่แล้ว

    Awesome Explation Sir

  • @syedashireen2992
    @syedashireen2992 4 ปีที่แล้ว +1

    Superb 😇😇😇thank you sooo much sir!

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว +1

      Most welcome 😊

  • @ashishm8850
    @ashishm8850 3 ปีที่แล้ว

    Bahut bhadiya sir. Dhanyavaad!

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว

      Thankyou beta!
      I am glad you liked it. I also hope that you are watching till the end and trying to understand the what, how, and especially why of the problem. If you like our efforts, will you like to review us here - g.page/Pepcoding/review?rc

  • @rajeshKumar-kt5te
    @rajeshKumar-kt5te 3 ปีที่แล้ว

    ok , if we have to reduce the space we can declace only 1 arraylist, it will still work just we can calculate its length after the fuction call and we can start a loop from 0 to that size and inside the loop we can write rres.add(ch+rres.get(i)).

  • @LordSarcasticVlogger
    @LordSarcasticVlogger 3 หลายเดือนก่อน

    Very nice explanation sir

  • @anupamdungdung9417
    @anupamdungdung9417 3 ปีที่แล้ว +1

    Wonderful explanation Sir!

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว

      Thankyou beta!
      I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem.
      If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

  • @amanpreetsinghsetia1524
    @amanpreetsinghsetia1524 3 ปีที่แล้ว +1

    brilliantly explained sir thank you :)

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว +2

      Thankyou beta!
      I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem.
      If you like our efforts, will you like to write a few words about us here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )

  • @fudankumar5206
    @fudankumar5206 3 ปีที่แล้ว

    Very well explanation.

  • @micekey8401
    @micekey8401 ปีที่แล้ว +1

    *Code in python*
    def getSubseq(str) -> list:
    if len(str) == 0:
    ss = []
    ss.append("")
    return ss
    first = str[0]
    ss = getSubseq(str[1:])
    ssres = []
    for i in range(len(ss)):
    ssres.append(first + ss[i])
    for i in range(len(ss)):
    ssres.append("_" + ss[i])
    return ssres
    string = "abc"
    arr = getSubseq(string)
    print(arr)

  • @kuldeepsainiiii
    @kuldeepsainiiii 2 ปีที่แล้ว

    great explanation

  • @RAHULKUMAR-gn7ej
    @RAHULKUMAR-gn7ej 3 ปีที่แล้ว

    Java code :
    static ArrayList powerSet(String s)
    {
    if(s.length() == 0) {
    ArrayList list = new ArrayList();
    list.add("");
    return list;
    }
    char ch = s.charAt(0);
    String smallInput = s.substring(1);
    ArrayList smallInputResult = powerSet(smallInput);
    ArrayList result = new ArrayList();
    for( String res : smallInputResult ) {
    result.add(res);
    result.add( ch + res);
    }
    return result;
    }

  • @raghavagrawal6263
    @raghavagrawal6263 ปีที่แล้ว

    We can also do with the 2 recursive calls as shown using recursive tree.
    #code
    def subsequence(s, op):
    if s == "":
    res.append(op)
    return
    op1 = op + " _ "
    subsequence(s[1:], op1)
    op2 = op + s[0]
    subsequence(s[1:], op2)
    global res
    res = []
    s = "ABC"
    subsequence(s, "")
    print(res)

  • @aakashkumbhare4399
    @aakashkumbhare4399 4 ปีที่แล้ว +1

    best explanation
    great

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว

      I am glad you liked it. I also hope that you are watching till end and trying to understand the what, how and especially why of the problem.
      If you like our efforts, we request a review - g.page/Pepcoding/review?rc

  • @FirstLearningthanEarning
    @FirstLearningthanEarning 2 ปีที่แล้ว +1

    Sir can we use Sc. nextLine() for string input in place of Sc. next() ?

  • @RonitSagar
    @RonitSagar 7 หลายเดือนก่อน

    Sir Can you please explain why did you need 3rd arrayList. Can we do it without 3rd arrayList.

  • @riaria5982
    @riaria5982 4 ปีที่แล้ว

    awesome explanation!!!!

  • @arghadipbiswas6420
    @arghadipbiswas6420 2 ปีที่แล้ว

    Sir i did the sequence using recursion...
    getting all the values but not in the order u written with void return
    import java.util.Scanner;
    public class rec_15_arr_sequence
    {
    public static void main(String[] args)
    {
    Scanner sc=new Scanner(System.in);
    System.out.println("Enter a word");
    String str=sc.next();
    gss(str,str.length(),str);
    }
    public static void gss(String str, int n, String str1)
    {
    if(str.equals(""))
    {
    return;
    }
    String sub=str.substring(0,n);
    if(str.length()==1)
    {
    if(str.charAt(0)==str1.charAt(0))
    {
    str=str1.substring(1);
    str1=str;
    System.out.println(str);
    gss(str,str.length()-1,str1);
    }
    }
    else
    {
    System.out.println(sub);
    gss(sub,n-1,str1);
    }
    }
    }
    can u please correct it and do it using Arraylist 😊

  • @shivamgupta-yn2de
    @shivamgupta-yn2de 2 ปีที่แล้ว

    Sir, can you explain how code is working in for loop at recursive level means what is getting in for loop at stack like first c, then bc, then abc

  • @harjotsinghbhullar7308
    @harjotsinghbhullar7308 9 หลายเดือนก่อน

    sir pepcoding ki site ko kya ha chal kyo nahi rhi?

  • @rohity294
    @rohity294 2 ปีที่แล้ว

    String ros = str.substring(1);// when this runs for str="c".......ch will be ch=str.charAt(0)=c......and ros=str.substring(1)...str is "c" i.e there is only 0th index and no 1st index in str...then why this line ros=str.subtring(1) is not throwing an index of bounds error?.............I anaylsed and found out that for string str of length n, having index positions 0 to n-1, str.substring(0) to str.substring(n) can be accesssed...this is counter-intuitive to me as as how we are able to access index n, whereas last character of string has index n-1.......does internally for any string, after the last character, there is one more empty character appended at the end by java library?

  • @ritvikmadhav4930
    @ritvikmadhav4930 4 ปีที่แล้ว

    Sir at 22:23 when you say str.substring(1) then for c alone the 1th index does not exist ,then shouldnt it display INDEX OUT OF BOUND EXCEPTION? Why is the code working then?

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว

      Beta, I regret to inform you that, I won't be able to answer/solve the personal doubts of each and every student over here. For clearing your doubts, you can join our community on telegram - t.me/pepcoding.

    • @makadiyavaibhav1246
      @makadiyavaibhav1246 3 ปีที่แล้ว +2

      You can pass the string length in substring method, anything beyond that is indexoutofbound error correct me if I’m wrong

  • @harshpandey7605
    @harshpandey7605 4 ปีที่แล้ว +1

    Thank you very much sir

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว

      Most welcome!! keep watching the videos

  • @tanmaydhawale3532
    @tanmaydhawale3532 3 ปีที่แล้ว

    Thanks 😊

  • @srishtigugoriya9319
    @srishtigugoriya9319 3 ปีที่แล้ว

    sir cpp me bhi content daliye please...

  • @vaibhavsinghparmar9511
    @vaibhavsinghparmar9511 2 ปีที่แล้ว

    what is the time and space complexity of this solution

  • @rohitmeena1772
    @rohitmeena1772 3 ปีที่แล้ว +2

    1 hr laga lekin khudse ban gya, ab confidence aa gya recursion me lagta hai.
    THANK YOU SIR 🙌🙌🙏🙏
    public static ArrayList < String > gss(String str) {
    if (str.length() == 0) {
    ArrayList < String > sm = new ArrayList < > ();
    sm.add("");
    return sm;
    }
    ArrayList < String > sList = new ArrayList < > (gss(str.substring(1, str.length())));
    int x = sList.size();
    sList.add((str.charAt(0) + ""));
    for (int i = 1; i < x; i++) {
    StringBuilder s = new StringBuilder(sList.get(i));
    s.insert(0, str.charAt(0));
    sList.add(s.toString());
    }
    return sList;
    }

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว +1

      Thankyou beta!
      I am glad you liked it. I also hope that you are watching till the end and trying to understand the what, how, and especially why of the problem. If you like our efforts, would you like to review us here - g.page/Pepcoding/review?rc

  • @kushagrabhardwaj4436
    @kushagrabhardwaj4436 3 ปีที่แล้ว

    how to handle below case as per this code :
    Input: digits = ""
    Output: []
    as it will return output as [""] not []

  • @sameekshabharti9222
    @sameekshabharti9222 3 ปีที่แล้ว +1

    @Pepcoding sir can you tell the time and space complexity of this ques, please?

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว

      Beta, I regret to inform you that, I won't be able to answer/solve the personal doubts of each and every student over here. For clearing your doubts, you can join our community on telegram - t.me/pepcoding.

  • @rohitsorot5136
    @rohitsorot5136 3 ปีที่แล้ว +1

    please summet sir level 2 bhi ap banado plz

  • @bloody9162
    @bloody9162 3 ปีที่แล้ว

    The cookie in this question would be the base case according to me, if you decide on taking substring of length 1 as the base case you'll miss the empty string in the subsequences.
    TLDR;
    Call Smart Base Case Normal
    Call Normal Base Case Smart
    - Sumeet Malik

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว +1

      doubt shoubt ke liye yahi content nados.pepcoding.com pe consume karein

  • @sanyasareen393
    @sanyasareen393 4 ปีที่แล้ว +1

    Sir, base case mein arraylist mein ek element Jo ki blank hai voh kyu return kiya, agar empty arraylist return karte toh bhi toh result same aata. What was the need to include that blank element in arraylist. Meko samjh aa gya that a blank string has one subsequence which is black(2^0=1) , but sir uss blank element ko na add karna zaroori kyu tha? Empty arraylist return karte toh rres mein loop lag ke vahi toh result aata??!

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว +2

      empty arraylist return karte to neeche loop he nahi chalta. iski jagah arraylist mei 1 element (jo blank hai) wo daal ke return karte hain to neeche kam se kam ek baar loop chalta hai

    • @sanyasareen393
      @sanyasareen393 4 ปีที่แล้ว +1

      @@Pepcoding okay sir samjh aa gya😄. Thankyou

  • @rahulberry4806
    @rahulberry4806 3 ปีที่แล้ว

    thanks sir, your content is great, a recommendation is if you can make the content in english it could reach wider audience

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว

      Hanji beta, jaldi he bnayege content english main bhi but it'll take time.

  • @Raj-iw9hd
    @Raj-iw9hd ปีที่แล้ว

    can anyone make me understand that loop part like how do we apply loop while doing it in c++

  • @SonuKhan-mp2yn
    @SonuKhan-mp2yn 2 ปีที่แล้ว

    legendary

  • @akshitsanwal3548
    @akshitsanwal3548 3 ปีที่แล้ว

    HE IS NOT A HUMAN , HE IS SOMETHING OUT OF THIS WORLD.

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว +1

      wow, this cheers me up. I am glad we at pepcoding could be of help to you. Keep learning. Also, recommend us to your juniors and peers, they may also benefit.

  • @GghiggFfhhhf
    @GghiggFfhhhf 3 หลายเดือนก่อน

    God 😍😍

  • @dhirendrachauhan3287
    @dhirendrachauhan3287 2 ปีที่แล้ว

    tnq Sir

  • @Ary0n
    @Ary0n 3 ปีที่แล้ว

    Sir I didn't got the difference between the last part of code when adding both space and a in same loop was not accepted but in doing in different loop how it was expected

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว

      Beta, I regret to inform you that, I won't be able to answer/solve the personal doubts of each and every student over here. For clearing your doubts, you can join our community on telegram - t.me/pepcoding.

  • @dheerajyadav9099
    @dheerajyadav9099 4 ปีที่แล้ว +1

    You nice❤ but you are very underated😔

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว

      Thankyou beta,
      I am glad you liked it. I hope that you are watching till the end and trying to understand what, how, and especially why of the problem.
      If you like our efforts, will you like to write a few words about us here (www.quora.com/How-do-I-start-learning-or-strengthen-my-knowledge-of-data-structures-and-algorithms )

    • @dheerajyadav9099
      @dheerajyadav9099 4 ปีที่แล้ว

      Sir apka content bacho tak nahi ja pa raha h

  • @arushinigam2101
    @arushinigam2101 2 ปีที่แล้ว

    here's an alternate code for this question
    public class recursion_intermediate {
    public static ArrayList res = new ArrayList();
    public static ArrayList subseq(String str, int index, String newstr) {
    if(index==str.length()){
    res.add(newstr);
    return res;
    }
    char currchar = str.charAt(index);
    //for char to be in new string
    subseq(str,index+1,newstr+currchar); //call for next char including char[index]
    //for char to not be in new string
    subseq(str,index+1,newstr); //call for next char without including char[index]
    return res;
    }
    public static void main(String args[]){
    String str ="abc";
    ArrayList uwu = new ArrayList(subseq(str,0,""));
    System.out.println(uwu);
    }
    }

    • @Pepcoding
      @Pepcoding  2 ปีที่แล้ว

      For better experience and well organised content visit - nados.io
      You can also post your doubts on community section of NADOS.

  • @Brombrom41
    @Brombrom41 3 ปีที่แล้ว

    Just a realization, sub sequence discussed here is subset of a set.
    {a,b,c} is a set and we here are trying to list out all the subsets. So for {a,b,c} subsets are
    {}
    {a}
    {b}
    {c}
    {a,b}
    {a,c}
    {b,c}
    {a,b,c}
    this also fits nicely together with the base case where we need to return empty set as it too is the part of the subset collection. Hope this helps people to visualize the problem better.

  • @pratyush__agarwal
    @pratyush__agarwal 3 ปีที่แล้ว

    Wow❤️

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว

      Keep watching and keep learning😊

  • @neelshah4812
    @neelshah4812 4 ปีที่แล้ว

    sir, for loop ka declaration samaj nai aya.
    if anyone can explain??

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว

      Strings, StringBuilder and ArrayList wale lecture mei jake ek baar ArrayList ka demo dekhie.

  • @SCRIPTSAG
    @SCRIPTSAG 4 ปีที่แล้ว

    String ka use base ke liye huwa hai na i mean string jeb 0 length ki hoti hai to uske liye hai

  • @ssv6055
    @ssv6055 3 ปีที่แล้ว

    🤟🏻🙌🏻🔥

    • @Pepcoding
      @Pepcoding  3 ปีที่แล้ว +1

      For much better experience visit on nados.pepcoding.com
      Don't forget to follow us on Instagram instagram.com/pepcoding/

  • @ganeshmurmu759
    @ganeshmurmu759 3 ปีที่แล้ว

    9:50

  • @ramandeepsinghpanesar5933
    @ramandeepsinghpanesar5933 3 ปีที่แล้ว

    how to do multiple lines comment at a time can anypne please help me in this

    • @kundanprakashjha1742
      @kundanprakashjha1742 3 ปีที่แล้ว

      step1- select multiple line
      step2-ctrl+/
      it will do multiple comment at a time

    • @terminator_363
      @terminator_363 2 ปีที่แล้ว

      by using language: /*to be commented*/
      by using keyboard: Select the content and press CTRL + /.

  • @ishanpatni2684
    @ishanpatni2684 4 ปีที่แล้ว

    26:48 sirji ye jo awaaz aa rahi hai that is causing problem in concentration ...please nullify it sir

  • @anuragdhyani1712
    @anuragdhyani1712 2 ปีที่แล้ว

    👍

  • @dayamalik6025
    @dayamalik6025 4 ปีที่แล้ว +7

    Hello chachu your Aryan

    • @Pepcoding
      @Pepcoding  4 ปีที่แล้ว +9

      Hello betu. Chachu loves Aryan

    • @dayamalik6025
      @dayamalik6025 4 ปีที่แล้ว +2

      I love you too chachu your Aryan

  • @rahuldwivedi9236
    @rahuldwivedi9236 2 ปีที่แล้ว

    brute force god

  • @govindsinghshekhawat8533
    @govindsinghshekhawat8533 2 ปีที่แล้ว

    Respect++;

  • @ujjawaldewangan8345
    @ujjawaldewangan8345 3 ปีที่แล้ว

    sir cpp ke liye recursion banaiye plzz
    🙏

  • @udaykulkarni5639
    @udaykulkarni5639 2 ปีที่แล้ว

    JavaScript ???????? Anyone ??????/

  • @abhinavsingh7953
    @abhinavsingh7953 2 ปีที่แล้ว

    code in c++
    vector gss(string s){
    // write your code here
    if(s.size()==0){
    vector base;
    base.push_back("");
    return base;
    }
    char ch = s[0];
    string ros = s.substr(1);

    vector retu = gss(ros);
    vector result;
    for(int i=0;i s;
    vector ans = gss(s);
    int cnt = 0;
    cout