3139. Minimum Cost to Equalize Array | Cases | Reduce values in Pairs Trick | Greedy | Math

Поділитися
Вставка
  • Опубліковано 26 сер 2024
  • In this video, I'll talk about how to solve Leetcode 3139. Minimum Cost to Equalize Array | Cases | Reduce values in Pairs Trick | Greedy | Math
    Let's Connect:
    📱Discord (Join Community) : / discord
    📝Linkedin: / aryan-mittal-0077
    📸 Instagram: / codewitharyanbhai
    💻 Twitter - / aryan_mittal007
    🤖 Github: github.com/ary...
    About Me:
    I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
    ✨ Hashtags ✨
    #programming #Interviews #leetcode #faang #maang #datastructures #algorithms

КОМЕНТАРІ • 32

  • @ARYANMITTAL
    @ARYANMITTAL  3 місяці тому +6

    If you liked this, you would also like our Crash Courses - ua-cam.com/video/DDIVTbatu1Y/v-deo.html
    [More Crash Courses are also Coming Sooon ❤]

  • @lavanyam3224
    @lavanyam3224 3 місяці тому +10

    Big salute for your efforts in explaining Hard prblms🙇‍♂If you're reading this comment Pleaseeee like this video so he'll post more such videos as mentioned 0:40 :))

  • @codingkart245
    @codingkart245 3 місяці тому +6

    Please UPLOAD THIS KIND OF VIDEOS!!!!!!!!! WE WILL WATCH EACH OF THEM and we're so greatful that you're giving a lot of efforts for us!

  • @vaibhav2863
    @vaibhav2863 3 місяці тому +6

    bhaiya you explain very very good please don't close
    you are really different
    meh chaah ke bhi apko striver ya auro se compare nhi kr skta
    jabhi tough question aata hai
    bas mann me aata hai aryan bhaiya ki video hogi toh pakka aa hii jayega

  • @dinimeegada9167
    @dinimeegada9167 3 місяці тому +7

    I am repeatedly visiting this channel since the contest ending to check his explanation of this problem. Thanks for your effort anna ❤

  • @InWonderland-z2l
    @InWonderland-z2l Місяць тому

    full support for these videos. we need this!

  • @arunimashandilya2963
    @arunimashandilya2963 3 місяці тому

    Please dont stop these kind of videos.. its amazingggg.. i recently came to know about your channel and i have been visiting it everyday since then because of how much it helps..

  • @Amy-qo8ro
    @Amy-qo8ro 3 місяці тому

    Big salute to your efforts. Your video is truly helpful!!!

  • @darth_vader_11
    @darth_vader_11 3 місяці тому +1

    Keep making long videos. I am also getting helped by these explanations certainly and i watch till end each of them.

  • @ajaysubramaniam4453
    @ajaysubramaniam4453 3 місяці тому

    Big salute for your efforts

  • @pranshu_awasthi
    @pranshu_awasthi 3 місяці тому +2

    One feedback :
    You tend to explain so much & elongate the video so much that sometimes the context of the video starts to diminish.

  • @tarushiarora8628
    @tarushiarora8628 25 днів тому

    explained it beautifylly

  • @pradeepkundekar4376
    @pradeepkundekar4376 3 місяці тому +2

    Karte raho aryaan bhaiya.❤

  • @riteshmangdare
    @riteshmangdare 3 місяці тому +1

    Can you also share notes that you make?, they are really helpfull

  • @nguyendcb
    @nguyendcb 3 місяці тому

    holyshiet u deserve more views brother, so insightful

  • @satwiktatikonda764
    @satwiktatikonda764 3 місяці тому

    bro dont stop these long vids
    we will support you
    we are highly dependent on you for all these contests

  • @Vishal-qb3wz
    @Vishal-qb3wz 3 місяці тому

    Likes Will Not Justify Your Content Man! Superbly Awesom

  • @rkb_404
    @rkb_404 3 місяці тому

    In the last case, when you have 7 gaps of length 1 and 1 gap of length 5 and when you are done pairing, no gaps will be left, because both are odd. We only increment once more in the case when, say, instead of a gap size of 5, you have a gap size of 4.

  • @inderlalchandani
    @inderlalchandani 3 місяці тому

    Thank u❤

  • @abhinavnarula7300
    @abhinavnarula7300 3 місяці тому +1

    Can someone pls explain the n-2 part again?

  • @AjayShakya-dv7ve
    @AjayShakya-dv7ve 3 місяці тому

    Thanks for the explanation

  • @rahulk5126
    @rahulk5126 3 місяці тому

    Thanks for the explanation...

  • @Anonymous____________A721
    @Anonymous____________A721 3 місяці тому +1

    Thanks

  • @jashwanthreddy1001
    @jashwanthreddy1001 3 місяці тому

    How are you sure that if the sum of remaining gaps is more than the greatest gap, then only 0 or 1 operation 1 is needed?

  • @aa_maruf
    @aa_maruf 3 місяці тому

    I appreciate your effort. ❤

  • @arpitrathore6031
    @arpitrathore6031 3 місяці тому

    Thanks for the efforts ✨ Really helpful

  • @Riyal_18
    @Riyal_18 2 місяці тому

    can we get the ipad notes of these all videos u post ?? plz it'll be great help

  • @nikhilprakash729
    @nikhilprakash729 3 місяці тому

    Thanks bhaiya

  • @vijaybenz9741
    @vijaybenz9741 3 місяці тому

    170 likes

  • @rkb_404
    @rkb_404 3 місяці тому

    Bro giving his 5 hours, so others can save their (700++ * 4 ) hours.