great video, fantastic explanation. not kidding when I say I watched 2/3 videos on this problem beforehand fully, but it only made sense and clicked for me with you explanation where you drew out the dp array. great work!
@hikemalliday6007 Жыл бұрын
Solid channel because native english speaker and good sound quality. The amount of people with accents and / or poor audio quality vids out there is high
@AlgoJS Жыл бұрын
Thanks for the compliment 👍
@mrs95shenny Жыл бұрын
I guess the tricky part was understanding the problem, I got a little confused there but your explanation solved my questions. Thanks
@AlgoJS Жыл бұрын
No problem, common case with these types of questions - figuring out what's required before diving into a solution
@OnEwHoRiDesLinEs11 ай бұрын
This has a quadratic time complexity, question is looking for linearithmic