Number of Submatrices That Sum to Target | Live Coding with Explanation | Leetcode - 1074

  Рет қаралды 23,984

Algorithms Made Easy

Algorithms Made Easy

3 жыл бұрын

Get Discount on GeeksforGeeks courses (practice.geeksforgeeks.org/co...) by using coupon code: ALGOMADEASY
To support us you can donate
Patreon: / algorithmsmadeeasy
UPI: algorithmsmadeeasy@icici
Paypal: paypal.me/algorithmsmadeeasy
Check out our other popular playlists:
Questions you might like:
✅✅✅[ Tree Data Structure] : • Tree Data Structure
✅✅✅[ Graphs Data Structure] : • Graph Data Structure
✅✅✅[ February Leetcoding Challenge] : • February Leetcoding Ch...
✅✅✅[ January Leetcoding Challenge] : • January Leetcoding Cha...
✅✅✅[ February Leetcoding Challenge] : • February Leetcoding Ch...
✅✅✅[ March Leetcoding Challenge] : • March Leetcoding Chall...
✅✅✅[ December Leetcoding Challenge] : • December Leetcoding Ch...
✅✅✅[ November Leetcoding Challenge] : • November Leetcoding Ch...
✅✅✅[ August Leetcoding Challenge] : • August LeetCoding Chal...
✅✅✅[ July Leetcoding challenges] : • July LeetCoding Challe...
✅✅✅[ June Leetcoding challenges] : kzbin.info?list...
✅✅✅[ May Leetcoding challenges] : • May LeetCoding Challen...
✅✅✅ Cracking the Coding Interview - Unique String: • Cracking the Coding In...
Problem Link: leetcode.com/problems/number-...
Code: github.com/Algorithms-Made-Ea...
If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful.
#coding #leetcode #programminglife #programmingisfun #programmer #tech #software #codinglife #leetcode

Пікірлер: 35
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
We hope you all are enjoying our videos!!! Don't forget to leave a comment!!! Please like the video to support us!!! Questions you might like: ✅✅✅[ Tree Data Structure ] : kzbin.info/aero/PLJtzaiEpVo2zx-rCqLMmcFEpZw1UpGWls ✅✅✅[ Graphs Data Structure ] : kzbin.info/aero/PLJtzaiEpVo2xg89cZzZCHqX03a1Vb6w7C ✅✅✅[ January Leetcoding Challenge ] : kzbin.info/aero/PLJtzaiEpVo2wCalBcRcNjXQ0C6ku3dRkn ✅✅✅[ December Leetcoding Challenge ] : kzbin.info/aero/PLJtzaiEpVo2xo8OdPZxrpybGR8FmzZpCA ✅✅✅[ November Leetcoding Challenge ] : kzbin.info/aero/PLJtzaiEpVo2yMYz5RPH6pfB0wNnwWsK7e ✅✅✅[ August Leetcoding Challenge ] : kzbin.info/aero/PLJtzaiEpVo2xu4h0gYQzvOMboclK_pZMe ✅✅✅July Leetcoding challenges: kzbin.info/aero/PLJtzaiEpVo2wrUwkvexbC-vbUqVIy7qC- ✅✅✅June Leetcoding challenges: kzbin.info/aero/PLJtzaiEpVo2xIfpptnCvUtKrUcod2zAKG ✅✅✅May Leetcoding challenges: kzbin.info/aero/PLJtzaiEpVo2wRmUCq96zsUwOVD6p66K9e ✅✅✅Cracking the Coding Interview - Unique String: kzbin.info/aero/PLJtzaiEpVo2xXf4LZb3y_BopOnLC1L4mE Struggling in a question?? Leave in a comment and we will make a video!!!🙂🙂🙂
@MrACrazyHobo
@MrACrazyHobo 3 жыл бұрын
You have no idea HOW much you guys are helping regular people like me prepare for the coding interviews
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
Thanks man!! 🙂
@047gauravkumartiwari5
@047gauravkumartiwari5 2 жыл бұрын
You guys never disappoint ! Thanks for helping man :)
@cricketsureshlucky
@cricketsureshlucky 5 ай бұрын
thank you so much subscribed
@sarthakyadav9148
@sarthakyadav9148 3 жыл бұрын
best solution on internet keep going.
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
Thanks !! Glad you like it !!!
@aryanndwivedi5605
@aryanndwivedi5605 5 ай бұрын
really great explanation
@dhirajjadhao6392
@dhirajjadhao6392 2 жыл бұрын
thank you soo much
@heeho5495
@heeho5495 3 жыл бұрын
You've explained it the best so far! Very nice job :)
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
Happy to meet your expectations!! 😍
@ankithreddyadudodla7673
@ankithreddyadudodla7673 3 жыл бұрын
nice explanation!!
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
Thanks
@jonaskhanwald566
@jonaskhanwald566 2 жыл бұрын
where is that sister. She can explain more clear.
@cinimodmil
@cinimodmil 2 жыл бұрын
sorry no offence but i agree...
@PhenomenalInitiations
@PhenomenalInitiations 3 жыл бұрын
why do we need (0,1) initially ? I didnt understand, can someone help me out
@cplearners9244
@cplearners9244 3 жыл бұрын
Consider if the first element itself is equal to the target sum. Then we need to search sum-target which is 0. Hence if we store 0 initially, then we can increment our answer by 1.
@PhenomenalInitiations
@PhenomenalInitiations 3 жыл бұрын
@@cplearners9244 thanks
@cruisingwithabhishek7977
@cruisingwithabhishek7977 3 жыл бұрын
Nice explanation!
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
Thanks!! 🙂
@hymnish_you
@hymnish_you 3 жыл бұрын
great buddy keep it up 👍
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
Thanks!! 🙂
@muthuvalli333
@muthuvalli333 3 жыл бұрын
Perfect...😀
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
Thank you! Cheers!
@vinaykenguva362
@vinaykenguva362 3 жыл бұрын
is the space complexity O(m) or O(n).............. if O(n) pls explain how
@AlgorithmsMadeEasy
@AlgorithmsMadeEasy 3 жыл бұрын
it is O(m). made a mistake!! 🙂🙏
@vinaykenguva362
@vinaykenguva362 3 жыл бұрын
@@AlgorithmsMadeEasy but really ur content is much helpful. Pls try to upload weekly n biweekly contest questions as well.
@411_danishranjan9
@411_danishranjan9 2 жыл бұрын
why in line 21 matrix [ row ] [ c1 - 1 ] instead of matrix [ row ] [ c1 ], please tell anyone
@manjeetyadav5830
@manjeetyadav5830 2 жыл бұрын
consider a array 1 ,2 ,3 ... prefix sum array = 1 ,3 , 6 .....to get sum of 2,3 from array we have to do (6-1) , not(6-3)
@097_suryakantdhote9
@097_suryakantdhote9 5 ай бұрын
😂
@411_danishranjan9
@411_danishranjan9 2 жыл бұрын
why this apporach is working, can anyone please explain me why substracting previous column from the next column is giving us answer ?
@manjeetyadav5830
@manjeetyadav5830 2 жыл бұрын
consider a row 1 ,2 ,3 ... prefix sum row = 1 ,3 , 6 .....to get sum of 2,3 from row we have to do (6-1) ..... and this same operation is done for all rows to get sum of submatrixes
@World-Of-Mr-Motivater
@World-Of-Mr-Motivater 5 ай бұрын
i do not understand as you are not bit clearly explaining (my POV)
@apurvapat3524
@apurvapat3524 Жыл бұрын
Worst explanation, would prefer directly seeing someones code and trying to understand instead of watching your video
Pacific Atlantic Water Flow | Live Coding with Explanation | Leetcode - 417
13:32
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 50 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 64 МЛН
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3 МЛН
Longest Valid Parentheses | Live Coding with Explanation | Leetcode - 32
12:51
Algorithms Made Easy
Рет қаралды 47 М.
The Algorithm Behind Spell Checkers
13:02
b001
Рет қаралды 408 М.
Shortest Path in Binary Matrix | Live Coding with Explanation | Leetcode - 1091
10:23
Object-Oriented Programming is Embarrassing: 4 Short Examples
28:03
Path With Minimum Effort | Live Coding with Explanation | Leetcode #1631
16:48
Algorithms Made Easy
Рет қаралды 10 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 774 М.