Spiral Matrix (LeetCode 54) | Full Solution with Visualizations | Study Algorithms

  Рет қаралды 26,183

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Пікірлер: 72
@suhas8882
@suhas8882 2 ай бұрын
Before looking solution in this KZbin channel actually I referred so many youtube channels but I am not satisfied by their way of explanation. Finally i got proper explanation what I want from this KZbin channel. Grateful to you sir.
@opsumon1569
@opsumon1569 9 ай бұрын
Lot of thanks
@Mydailymutualfundportfolio
@Mydailymutualfundportfolio 7 күн бұрын
Clear explanations is the difference that makes your videos unique ❤
@nikoo28
@nikoo28 7 күн бұрын
Thanks for the love!
@abhishekkrishna5978
@abhishekkrishna5978 10 ай бұрын
I feel your videos dosnt get enough appreciation. great job
@nikoo28
@nikoo28 10 ай бұрын
Thank you so much 😀
@sonustar7774
@sonustar7774 Жыл бұрын
Thank you sir keep uploading becoz you explain the logic with line of code so we get the idea what happening with that one lone of code
@saswatimishra2379
@saswatimishra2379 3 күн бұрын
Thank you Sir This is by far the best explanation of the solution to this problem..
@AadeshKulkarni
@AadeshKulkarni 10 ай бұрын
Simplified the thought process and approach nicely!
@srinivasnahak3473
@srinivasnahak3473 2 ай бұрын
You not only explained it really well but cleared why this question is asked in the interviews which was pretty helpful. Even I was facing the same issue in the beginning by thinking how to traverse through it. Also, your variable naming helped a bit more. :) Thank you so so much!!
@arjunsharma2788
@arjunsharma2788 3 ай бұрын
Most easiest and understandable video found on this topic. Fabulous approach. Just keep it up 👌
@bluelord_d
@bluelord_d Жыл бұрын
Excellent explanation, keep up the good work.
@mehedihasannnnn
@mehedihasannnnn Жыл бұрын
omg i have no word sir...woderful explanation.
@coachmohitrathor3044
@coachmohitrathor3044 4 ай бұрын
i was so much confused in this logic but after watching your video i am feeling so good i understood this que so easily you are great sir
@sri_dharsh_ni3749
@sri_dharsh_ni3749 5 ай бұрын
Watched many solutions but your explanation is the one made me understood this problem very well😌 thanks bro!!✨
@tedbliss001
@tedbliss001 2 ай бұрын
Perfect explanation!!
@abhijeetmishra8837
@abhijeetmishra8837 7 ай бұрын
finally i landed to the video i needed, best explanation of this question on youtube
@ipsitadas3031
@ipsitadas3031 7 ай бұрын
Simplified the approach in the most best way :) thank you sir
@naturelife7655
@naturelife7655 3 ай бұрын
You helped me understand very clearly.Thanks
@atharvnanaware3354
@atharvnanaware3354 4 ай бұрын
Great and Simple Explanation ...... 🙌
@thellaidhinesh8646
@thellaidhinesh8646 Жыл бұрын
You deserve a lot more brother.
@midlajahmad-cs0058
@midlajahmad-cs0058 11 ай бұрын
one of the best explaination ,,,but still idk y this channel is not reaching more views..:(
@nikoo28
@nikoo28 11 ай бұрын
Trying my best to get it top in results. :) Please help by sharing as much as possible
@nagalakshmikesavan9198
@nagalakshmikesavan9198 Жыл бұрын
Great Explanation!! Thank you for all your videos.Please start making more videos
@shrirajthakare274
@shrirajthakare274 5 ай бұрын
Best Explanation as always
@kavyakooks5305
@kavyakooks5305 10 ай бұрын
Very well explained!!
@nikoo28
@nikoo28 9 ай бұрын
Glad you think so!
@naveenkumarnuggu
@naveenkumarnuggu 11 ай бұрын
Explanation is good. I follow your videos for most of the leet code problems. Just FYi - Spiral Matrix problem number on Leet code is #54
@nikoo28
@nikoo28 10 ай бұрын
thanks...I corrected it.
@riyajaiswal6778
@riyajaiswal6778 5 ай бұрын
Very well visualized!!
@Hridaymardam_
@Hridaymardam_ 5 ай бұрын
loved this really loved this!!!
@kalpitparmar3057
@kalpitparmar3057 Жыл бұрын
Pura din 1 problem ke piche laga diya aur raatko jake ye timesaver video mil raha he 🤦🏻 Shortest and Easiest explanation 🔥
@nikoo28
@nikoo28 Жыл бұрын
glad I could help you :)
@NARAYAN-vf9kx
@NARAYAN-vf9kx Ай бұрын
excellent sir, why dont u be regular on your channel !!! . u k u are simply the beast out of the creams
@yelururao1
@yelururao1 Жыл бұрын
awsome explanation bro..keep doing more
@bhadrinarayanan9660
@bhadrinarayanan9660 4 ай бұрын
crystal clear thank you very much
@karthickjayaraman2090
@karthickjayaraman2090 3 ай бұрын
Hi!! i initialized columnEnd as int columnEnd = matrix.length-1 just like rowEnd= matrix.length-1. The program didn't run. Can you explain me why we should take columnEnd as matrix[0].length-1? im new kindly need help.
@deep1998-j1v
@deep1998-j1v 2 ай бұрын
Why those two extra checks are only applied to last two for loops? Why its necessary for top two loops?
@biocoder
@biocoder Жыл бұрын
Thank you so much......woderful explanation.
@sudhadevi6692
@sudhadevi6692 Жыл бұрын
It's so simple . Thx Bhaiya❤
@ganeshjaggineni4097
@ganeshjaggineni4097 8 күн бұрын
NICE SUPER EXCELLENT MOTIVATED
@Omkrishna0131
@Omkrishna0131 2 ай бұрын
crazy explanation
@prathamvardaan4187
@prathamvardaan4187 6 ай бұрын
excellent explanation sir thankyou
@suneosama939
@suneosama939 Жыл бұрын
Thank you so much brother 🥺
@saivignesh03
@saivignesh03 Ай бұрын
explanation 🥳🥳❤
@deepakkumarbehera3717
@deepakkumarbehera3717 Жыл бұрын
Thank you sir keep uploading
@unemployedcse3514
@unemployedcse3514 3 ай бұрын
awesome ❤
@sheikhmkrifat7749
@sheikhmkrifat7749 Жыл бұрын
Thanks a lot brother
@_dhruvsahu_5542
@_dhruvsahu_5542 Жыл бұрын
Thank you sir
@pragatii9054
@pragatii9054 6 ай бұрын
Thank you 😊
@UdhyaKumar-z4d
@UdhyaKumar-z4d 2 күн бұрын
Thank YOu are awesome
@kalyanamvenumadhav2245
@kalyanamvenumadhav2245 Жыл бұрын
why we use 2 conditions as test cases while traversing left and up why don't we use it in traverse right, & in traverse left I think while reducing row we need to check whether rowBegin
@kolawoleabdulrahman
@kolawoleabdulrahman Жыл бұрын
co-ask @nikoo28🙏
@satvikchati7890
@satvikchati7890 10 ай бұрын
thank you sir 😄
@jashanjotbedi1796
@jashanjotbedi1796 11 ай бұрын
Nyc explaination .
@amanverma8258
@amanverma8258 Жыл бұрын
The explanation was clear and concise. Thanks a lot sir !
@nikoo28
@nikoo28 Жыл бұрын
Keep watching
@najujusi6620
@najujusi6620 Жыл бұрын
Thankyou sir
@shrutikashyap8284
@shrutikashyap8284 4 ай бұрын
You are so soo sooo underrated
@ИванСорогин-н1й
@ИванСорогин-н1й 6 ай бұрын
How solutions on JS?
@NiharikaB8405
@NiharikaB8405 6 ай бұрын
sir a question why do interviewer ask such question ?
@plutomessi21
@plutomessi21 Жыл бұрын
Sir can you do a video on spiral matrix 2
@nikoo28
@nikoo28 Жыл бұрын
will do
@ashishkapgate6790
@ashishkapgate6790 Жыл бұрын
Sir, i m from totally non coding background and try to lern coding. i m Facing problem in writing function in java. how can i overcome with this problem.
@suneosama939
@suneosama939 Жыл бұрын
Thank yo so much 🥹 you help me a lot brother, I ask you a question hmm traverse up the code line "print(matrix[j][colBegin])" is that go up the array right, thank you so much brother ❤😊
@nikoo28
@nikoo28 Жыл бұрын
can you please clarify your doubt a bit more?
@kumarsatyam5218
@kumarsatyam5218 6 күн бұрын
you dont help me understand the corner cose revisitng the same element again.
@nikoo28
@nikoo28 6 күн бұрын
please elaborate the corner case you are talking about. I will try to explain it.
@garimidirajesh2878
@garimidirajesh2878 4 ай бұрын
can some one explain why i am getting run time error for the below code ? class Solution { public: vector spiralOrder(vector& matrix) { int rb=0,re=matrix.size(),cb=0,ce=matrix[0].size(); vectorvect; while(rb
@dharavathrajkumar7431
@dharavathrajkumar7431 3 ай бұрын
It may be a silly question, I just want to know that using that many loops is a good idea. Can't we do with only few loops. I know it may feel you silly
@fatimaahmad5734
@fatimaahmad5734 7 ай бұрын
voice is really low,what the video content is best.
@coronaklledmebot4856
@coronaklledmebot4856 4 ай бұрын
mic theek kr
Spiral Traversal of a Matrix | Spiral Matrix
16:33
take U forward
Рет қаралды 252 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
I’m Making My First Game in 2025
6:58
iHeartGameDev
Рет қаралды 1,5 М.
Spiral Matrix - Microsoft Interview Question - Leetcode 54
16:46
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1 МЛН
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 21 М.
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 674 М.
LeetCode Spiral Matrix Solution Explained - Java
11:07
Nick White
Рет қаралды 49 М.