DSA Phir se with Sumeet | Leetcode 6 | Zigzag Conversion

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • I am solving DSA again via this playlist.
    I read your comments and consider your requests. As soon as we build some momentum we will start preparing smartly.
    This is Leetcode 6 | Zigzag Conversion
    I am doing the following work these days
    1. DSA Phir se: • DSA Phir se with Sumeet
    2. Dream and Build with Sumeet: / @dnb-with-sumeet
    3. JEE Prep: / @sumeet-malik-for-11th...
    4. Powerlifting: / sms_pec
    5. Journal of progress: / @sumeet1188
    My instagram, linkedin and twitter are also pretty interesting.
    LinkedIn: / sumeet-malik-ab650410
    Twitter: / sumeetmalik17
    Instagram: / sms_pec

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

  • @divyanshukumar4757
    @divyanshukumar4757 หลายเดือนก่อน +1

    Thank you for making this question that much easier.

  • @savin8305
    @savin8305 9 หลายเดือนก่อน +3

    Your teaching style is absolutely fantastic! The way you break down complex concepts makes learning enjoyable and easy to grasp.

  • @CodingJoySoul
    @CodingJoySoul 9 หลายเดือนก่อน +1

    This question used to haunt me, I don't know why???
    Now, after watching your lectures, it is like kya hi hai yeh question... Itni easy peezy.
    Thank you 🙏

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

    Genuine teacher .. Amazing
    Thanks for teaching

  • @user-el8ei1rf6c
    @user-el8ei1rf6c 2 หลายเดือนก่อน

    Baap level explainer ho aap ❤❤❤❤❤❤

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

    sach me sir, aapke samjane ka tarika mast hai

  • @sandipbhattacharjee7819
    @sandipbhattacharjee7819 8 หลายเดือนก่อน

    sir why am I getting memory Limit exceeded while running this code, please help

  • @MayankGupta-un2kb
    @MayankGupta-un2kb 5 หลายเดือนก่อน

    best explaination bhai

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

    God bless you sir.

  • @maniac0224
    @maniac0224 8 หลายเดือนก่อน

    Great explanation

  • @saurabhsuman3118
    @saurabhsuman3118 8 หลายเดือนก่อน

    Sir what what will be the time complexity and space complexity . Pls discuss it too.

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

    Great video.. Kudos !!

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

    What will be the time complexity of this approach?

  • @mayankgandhi9336
    @mayankgandhi9336 6 หลายเดือนก่อน

    Sir please start preparation again, ruk kyu gaye

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

    I am not getting that how the time complexity of this code is O(N) because it is having two loops inside each other so isn't this should be O(N^2.Can anyone pls help

    • @Pepcoding
      @Pepcoding  9 หลายเดือนก่อน +3

      beta, loop mei loop hmesha n^2 nahi bnata. Jaise socho bahar wala loop agar n/m baar chalega aur andar wala m baar to complexity n hogi na. waisa kuch ho rha hai. bahar wala loop rows ke barabar chal rha hai aur andar wala n/rows to total hua n. Soch kar btao ki samajh aya ya nahi?

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

      @@Pepcoding Got it! Thank you so much sir

  • @vishutiwari99
    @vishutiwari99 9 หลายเดือนก่อน +1

    Bohot dino baad

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

    Sir could you please do discussion regarding time complexity also at the end of each question.

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

      Sure. In all next questions.

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

    Sir, please teach system design

  • @sandipbhattacharjee7819
    @sandipbhattacharjee7819 8 หลายเดือนก่อน

    class Solution {
    public String convert(String s, int n) {
    if(n==0)return s;
    StringBuilder ss=new StringBuilder();
    for(int i=0;i

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

    amar bal