3250. Find the Count of Monotonic Pairs I | Weekly Leetcode 410

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

codingMohan

codingMohan

Күн бұрын

Пікірлер: 9
@shivamchaudhary7574
@shivamchaudhary7574 4 ай бұрын
Nice explanation
@ashutoshjha2648
@ashutoshjha2648 5 ай бұрын
Great explanation...keep up the good work
@dawodujohnson
@dawodujohnson 5 ай бұрын
Nice as usual Please when are you dropping next videos?
@souravshaw8904
@souravshaw8904 5 ай бұрын
Great explanation 💯
@saurabhsingh-zm9zh
@saurabhsingh-zm9zh 5 ай бұрын
thank you mohan for simplifying the explanation , i found it very useful ❤
@chaitanya812
@chaitanya812 5 ай бұрын
waiting from it from the very start❤
@vamsikrishnagannamaneni912
@vamsikrishnagannamaneni912 5 ай бұрын
if all the values are unique, the dp will render useless right? Please correct me if i am wrong
@codingmohan
@codingmohan 5 ай бұрын
Which values you are referring to here? If you mean the array values, then No. The dp prevents recalculation of the same state (think of it in terms of recursion for easier visualization). If you remove dp, the same state might get recomputed more than once, thereby increasing the time complexity of solution. If you still not sure of it - try to do a dry run of the recursive solution once using pen and paper.
@krishanusaha5212
@krishanusaha5212 5 ай бұрын
Great explanation bhaiya as always, bhaiya wp check karo na 😅
3251. Find the Count of Monotonic Pairs II | Weekly Leetcode 410
33:04
3276. Select Cells in Grid With Maximum Score | Weekly Leetcode 413
36:39
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
The MOST IMPORTANT Considerations in Programming! // Code Review
19:11
LeetCode Weekly Contest 410 | Find the Count of Monotonic Pairs I
21:15
Leetcode 3404 | Count Special Subsequences | Weekly Contest 430
13:57
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 761 М.
3245. Alternating Groups III | Weekly Leetcode 409
59:38
codingMohan
Рет қаралды 1,5 М.
3225. Maximum Score From Grid Operations | Leetcode Biweekly 135
1:04:57
10 Math Concepts for Programmers
9:32
Fireship
Рет қаралды 2 МЛН
3267. Count Almost Equal Pairs II | Weekly Leetcode 412
24:19