Here is the detailed solution to the Leetcode problem 2518 NUMBER OF GREAT PARTITIONS of the Leetcode Weekly Contest 325 if you have any doubts, do comment below to let us know and help you.
"For a better viewing experience, we recommend watching the video at 1.5x speed"
Problem Link: [ Ссылка ]
In this video, I have talked about how to find the total number of valid partitions according to the given conditions.
Any suggestions are welcomed and do subscribe to my YouTube Channel for the latest updates for solutions as well as explanation.
Don't wait any longer, start your journey to coding interview success with "Think And Code" today!
Solution link: [ Ссылка ]
Timestamps
0:00 - Intro
0:20 - Question explanation
2:32 - Bruteforce approach
10:25 - Memoization/Optimized approach
You can write to us at: thinkandcode.pr@gmail.com
Also - rajpawar2.rp@gmail.com & prateekjain14112000@gmail.com
Ещё видео!