Max Sum Subarray | Sliding Window Challenge | C++ Placement Course | Lecture 30.1

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
    Telegram: t.me/apnikaksh...
    Instagram: / dhattarwalaman

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

  • @komalkumari-mu2qu
    @komalkumari-mu2qu 3 ปีที่แล้ว +16

    It's going suprb with this series .....never expected ki itna aage tk c++ kr lungi ....thankyou sooo much 🙏🙏🥺

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

      What's your age?

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

      @@codingsutra1193 kya karega bhai??

    • @sumitKumar-pf9xo
      @sumitKumar-pf9xo 3 ปีที่แล้ว +1

      @@VipinYadav-uq5me mile to hume v batana

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

      Ya that's a great thing but did you analyse yourself that how much you are able to write your own code for each problem by going through this course if you are able then you are going 🙂

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

      Same

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

    Such an easy question after so long. It was really unexpected.

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

    you should also check the condition which is in second loop
    if (sum < x && sum > ans)
    {
    ans = sum;
    }

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

      she has already done that

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

    Keep continue...make more advance c++ tutorial

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

    Waoo Amazing didi
    I understood the whole concept 🤗🤗

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

    It was intuitive. Thank you : )

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

    If we choose 4, 6 and 9 from the array used in the question, the sum comes out to be 19 which is less that X(X=20). Why is 19 not the answer?

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

    Spreading value....

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

    Aaha bhoha adhrirshta bhoha

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

    Best explanation, Thank you

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

    Great

  • @SahilSharma-hx6dc
    @SahilSharma-hx6dc 3 ปีที่แล้ว +1

    Please upload a series of JAVA like this 🙏🙏

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

    Yes

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

    Can be done in O(n) instead of O(2*n) . With just one for loop

    • @sumitKumar-pf9xo
      @sumitKumar-pf9xo 3 ปีที่แล้ว

      Haa uske liye sorted rehna chayie array

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

      @@sumitKumar-pf9xo no not necessary dude just use two pointer technique

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

      yeah and above mention solution is also O(n), not O(2*n), first loop is iterating till k then 2nd is from k to n-1

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

    13:24

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

    Nice explanation, per Canva Slides !=Animation

    • @SumitKumar-ho1ze
      @SumitKumar-ho1ze 3 ปีที่แล้ว

      Hello
      do you prefer this course for absolute beginners
      and I got to know that some topics are missing and some topics are not in a proper order is that true ??

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

    Bhaiya C ka Video algorithm or Data Structure ke saath ka link send kijiye gaa

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

    Your question is wrong. The question should be "Max sum subarray less than X".

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

    1 like for our hardworking father

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

    Ye didi acche pdhate bs😌 baki to uda dete questions ko bina smjhaye

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

    Why u guys r going towards approach right after discussing the question. First give some test cases let us think some solution thn go to the approach 🙂

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

    how we know when the live session been held

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

      Brother go to channel and then play list. And set reminder for the premier videos which are bottom of the list.

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

      @@GeniusVijay thank you brother

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

    AB PATA CHALA CHAHE KITNA BHI FREE CONTENT DE DO. COMPETITION HAMESHA SAME RAHEGA KYUKI FOCUSED CANDIDATES , SERIOUS CANDIDATES ARE CONSTANT.....

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

    Kitne kam log dekh rahe hai video .
    JABki carryminati ki live stream hazaro bewkoof bache dekhte hai. Games ki live stream dekhne se kisi ke post like karne se hame kuchh fayda nhi hai wese bhi padhne waale bache inn sab chakro me padte hi nhi hai...

    • @HimanshuGupta-dt8jj
      @HimanshuGupta-dt8jj 3 ปีที่แล้ว +5

      Sunn meri baat, its their personal choice🙃

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

      bilkul sahi keh rhe ho bhai.. kon se college me padh rhe ho?

    • @sumitKumar-pf9xo
      @sumitKumar-pf9xo 3 ปีที่แล้ว +1

      @@VipinYadav-uq5me mauj kar di bhai tumne to

    • @sumitKumar-pf9xo
      @sumitKumar-pf9xo 3 ปีที่แล้ว

      @@Justin-nw7xi when someone uses their 100 iq then this comment came

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

    Hi ho la laloo