689. Maximum Sum of 3 Non-Overlapping Subarrays | O(1) space | 2 Approaches | Sliding Window Hard

  Рет қаралды 2,714

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 17
@krushna6847
@krushna6847 Ай бұрын
I got the solution at 6:34 , thank you so much aryan bhai..
@InWonderland-z2l
@InWonderland-z2l Ай бұрын
love this!! more please
@Its_Shubham_Negi
@Its_Shubham_Negi Ай бұрын
i knew something was cooking 🔥
@ARYANMITTAL
@ARYANMITTAL Ай бұрын
Okay the video can is a bit long, but i bet, no-one will cover O(1) space approach, so if you feel like, you can skip O(1) approach ❤
@nishantkumarjha4644
@nishantkumarjha4644 Ай бұрын
thanks brother. It was really helpfull.
@AverageIndianDrivers
@AverageIndianDrivers Ай бұрын
aryan sir please bring the solution of 3387 pls
@ajayc815
@ajayc815 Ай бұрын
😍😍😍😍😍😍😍😍😍😍😍😍😍
@gundanarendra3542
@gundanarendra3542 Ай бұрын
Waiting for your video
@pranshuatrey
@pranshuatrey 28 күн бұрын
Maqsad ☠☠
@shubhamjain1511
@shubhamjain1511 Ай бұрын
Hey Aryan, How should we approach this problem if instead of selecting 3 subarray, we have to select x number of subarray?? and thanks for providing such detailed solution.
@shauryasinghal-dt1qg
@shauryasinghal-dt1qg Ай бұрын
Use dynamic programming rec(i, x). - from index i...n whats the max sun i can create by choosing x subarrays of length k.
@shauryasinghal-dt1qg
@shauryasinghal-dt1qg Ай бұрын
Just try to pick ith index and not pick ith index.
@prajwalshaw9217
@prajwalshaw9217 Ай бұрын
Which companies have asked this question in the last 6 months and 1 year bhaiya...?..just curious.
@abhassen1531
@abhassen1531 Ай бұрын
facebook only
@gamersgame43
@gamersgame43 Ай бұрын
google and meta in last 6
@sozkaya
@sozkaya Ай бұрын
very very long :(
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 49 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 274 М.
494. Target Sum | Memoization | Bottom Up Optimized | DP
23:10
Aryan Mittal
Рет қаралды 1,6 М.
Dynamic Programming isn't too hard. You just don't know what it is.
22:31
DecodingIntuition
Рет қаралды 245 М.