The intuition behind this algo is that we are checking for all possible squares ending at the given index. So, we are using the results of maximum sized squares ending at 3 adjacent indexes and using that information to find out the max possible solution at current index.
please add the link as well and ur playlists are best way to revise and the way you explain gives me confidence to speak in interviews .. Thanks a lot for amazing content
thank you! this explanation is far more clear than those i watched before
Very simple and nice Explanation
i thought this was very complexed problem. after watching this video, i got the confidence to solve this problem. Thanks alisha!
Great clarification! 😃
The intuition behind this algo is that we are checking for all possible squares ending at the given index.
So, we are using the results of maximum sized squares ending at 3 adjacent indexes and using that information to find out the max possible solution at current index.
excellent explanation mam.
Nice Explanation 😃
The way you are conveying the intuition part of the solution creates the difference.
Nice choice of questions btw.
please add the link as well and ur playlists are best way to revise and the way you explain gives me confidence to speak in interviews ..
Thanks a lot for amazing content
Thank you Shivansh, will add links to questions from now on :)
Nice explanation 😊
Thank you so much for this approach ... this is really easy
Great explanation! This helped a bunch!
Space Complexity: O(1)
int maxSquare(int n, int m, vector mat){
// code here
int ans=0;
for(int i=0;i
Ufff didi one of the best place and you just explained the code in really easy way, I saw everyone's video but they just copy pasting the solution ❤❤😊
Thanks a lot 😊
Are you sure th-cam.com/video/RElcqtFYTm0/w-d-xo.html
I have a dought, you are returning the max area by 3* 3 but the right area is 2*3 right???
thankyou so much worth watching!!!!
Nice explanation Indeed!
Glad you found it helpful!
I mam I want talk with your about my features opportunity where can connect with you
Can we solve problems by filling dp from last cell to first
very nice explaination
thank you!
Arigatho
greatt explanation!
thanks a lot didi!
thanks mam
Most welcome 😊
nice work alisha
inside if( i = = 0 || j = = 0) you are doing unnecessary work you can leave it as it is , nice explanation overall 🙏thank you