L12. Candy | Slope Approach Intuition Based

Поделиться
HTML-код
  • Опубликовано: 25 май 2024
  • Find problem link, notes under Step 12: takeuforward.org/strivers-a2z...
    Follow me on socials: linktr.ee/takeUforward

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

  • @hiteshpatwal9688

    Livestream of weekly and biweekly leetcode needed 🫡✅✅✅or else answers video of each contest please bro 😔😔

  • @nagasrikuncharapu3736
    @nagasrikuncharapu3736 14 часов назад +1

    1x feels like 0.5x to me after listening to all of his classes in 2.5x 😆

  • @LIGHT2DARKNess1929
    @LIGHT2DARKNess1929 14 дней назад +1

    Is there anyone who completed the whole playlist?????

  • @tanishqchauhan8053
    @tanishqchauhan8053 14 дней назад +1

    please run the code youself at last it shows error many times

  • @manthansingh6302

    In the 2nd approach, you also have to update the right's value in else case. Btw amazing explanation, loved the optimized approach.

  • @abhimanyuambastha2595
    @abhimanyuambastha2595 21 день назад +1

    All the solutions remove the minimum of down and peak from the sum without properly explaining the reason. Only striver's video explains exactly the reason and also how he came to it. This is the stuff that passes you interviews when you understand how to come to the solution. Just everybody copying a solution without understanding, in interviews you will be completely lost as to what to do and why to do. Thank you for the wonderful explanation

  • @storm19019
    @storm19019 14 дней назад +1

    Is it patented approach

  • @Hari-xq1qq
    @Hari-xq1qq 7 часов назад

    Best video in entire DSA

  • @ayaaniqbal3531

    The last approach was mind Blowing .From my own i could not have imagined this approach.Thank you striver for this amazing video😄

  • @harshalrelan3113

    the 2nd O(2N) doesn't seem to be working.... pls cross check

  • @yuvrajbhardawaj2045
    @yuvrajbhardawaj2045 День назад +2

    Small correction in O(2N) solution

  • @Sangi-sj2dy
    @Sangi-sj2dy 21 день назад

    Your videos makes my day awesome

  • @iamnoob7593
    @iamnoob7593 14 дней назад

    SUPERB STRIVER SIR.

  • @Dsa_kabaap

    Sir please start making videos on strings and stacks

  • @THOSHI-cn6hg
    @THOSHI-cn6hg 14 дней назад

    Great

  • @thoughtsofkrishna8963
    @thoughtsofkrishna8963 14 дней назад

    What is the optimal approach if they asked for the resultant array ???

  • @AdityaKumar-be7hx

    Using better variable naming for 2nd appraoch

  • @ajayprabhu465

    suprisingly i came up with most optimal approach by myself, but did not come up with naive solution.

  • @pradeepkumawat1220

    First like 🎉

  • @instinct1098

    Slope Approach is amazing