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

  Рет қаралды 1,656

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 14
@GAJNANIPRINCESUNILKUMAR
@GAJNANIPRINCESUNILKUMAR Күн бұрын
what an explanation bro, You made it really simple
@haha44261
@haha44261 Күн бұрын
ohhh mannn!!! this feels so easy here....
@debyet017
@debyet017 Күн бұрын
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 Күн бұрын
i learnt a lot from you. thanks!
@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 ?
@inosuke156
@inosuke156 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
@ShivamKendre-fc3su
@ShivamKendre-fc3su Күн бұрын
Just awesome
@Its_Shubham_Negi
@Its_Shubham_Negi 2 күн бұрын
Thanx 🔥
@RadheShyam33455
@RadheShyam33455 12 сағат бұрын
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 күн бұрын
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
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
1014. Best Sightseeing Pair | One Pass | Prefix Maximum
10:48
Aryan Mittal
Рет қаралды 1,5 М.
AI Is Not Designed for You
8:29
No Boilerplate
Рет қаралды 281 М.
Python for Beginners - Learn Coding with Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 20 МЛН