3413. Maximum Coins From K Consecutive Bags | Sliding Interval Hard

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 14

  • @GAJNANIPRINCESUNILKUMAR
    @GAJNANIPRINCESUNILKUMAR День тому +1

    what an explanation bro, You made it really simple

  • @haha44261
    @haha44261 День тому +3

    ohhh mannn!!! this feels so easy here....

  • @debyet017
    @debyet017 2 дні тому

    couldn't think of this during the contest, i thought that there should be a optimized way of finding the possible start points within an interval

  • @savagebeaztpeace8390
    @savagebeaztpeace8390 2 дні тому +1

    i learnt a lot from you. thanks!

  • @inosuke156
    @inosuke156 2 дні тому +2

    Yeah tough one. MLE on TC9 😂

  • @bhupendrakalal1727
    @bhupendrakalal1727 День тому

    what if like i make a priority queue on the basis of max coins and put a pair (b-a, coins ) in it and then finally taki8ng out until k is greatr than 0 . why this doent work

  • @maqthyar
    @maqthyar День тому

    For the second case, can we move the sliding window from right to left ? then computations will be similar to first case right ?

  • @ShivamKendre-fc3su
    @ShivamKendre-fc3su День тому

    Just awesome

  • @Its_Shubham_Negi
    @Its_Shubham_Negi 2 дні тому

    Thanx 🔥

  • @RadheShyam33455
    @RadheShyam33455 14 годин тому

    I tried sliding window but go mle

  • @chandrakirandurgam-o7y
    @chandrakirandurgam-o7y 2 дні тому

    what does "Leveraging" mean ? Ive seen this term being spoken everywhere that we are "Leveraging" something but i couldnt get the exact meaning

    • @focussed2969
      @focussed2969 2 дні тому +1

      To make use of

    • @niteshsaxena03
      @niteshsaxena03 День тому

      it means to take advantage of something that is given to us....like any info which is given in question in case of leetcode