Spiral Matrix

preview_player
Показать описание
----------------------------------------------------------------------------------------------------------------

MUSIC
----------------------------------------------------------------------------------------------------------------
woke up tired (playboi carti - wokeuplikethis* lofi remix) by listless
Рекомендации по теме
Комментарии
Автор

This is how you realize the importance of meaningful variable names

randeepsiddhu
Автор

I had the same approach to solve the problem but struggled for 3 hours because of the variable names. Thanks Kevin.

thevirtualbuddy
Автор

Absolutely beautiful! Kudos for the explanation, and for choosing meaningful variable names :)

Srijeet
Автор

This is one of the cleanest solutions! Many thanks!

shwetagoel
Автор

watched it once and got it . Thanks kevin.

subhamagarwal
Автор

Hello great video Kevin, can you please explain why you had the && res.size() < size check condition with every for loop, I am a little lost. Thank you!

dhruvseth
Автор

This is a clean solution, very easy to understand and implement

ri_cars
Автор

v nice Kevin...like the way you explain your logic, even as you are typing the solution

PallNPrash
Автор

Wow, I thought about doing it this way but was afraid to because I thought the numerous for loops inside the while loop seemed wrong but apparently not lol Thanks Kevin! Just one question, why have the same check inside the for loops when the while loop does it for you ?

OverLordOfDardWorld
Автор

Thanks! Great explanation! And as already mentioned deal in variable names!

igornesterov
Автор

This is the best solution because the approach seems pretty obvious.

vivekkumarmaheshwari
Автор

You just made it look so easy again 🙌 Kudos

sumitanglekar
Автор

Thank you for all your work man :) I'm going to have an interview for interning at Facebook this month. First missing positive of LC or more videos related to Binary Search and strategies to apply on arrays would be AWESOME. Thank you.

darod
Автор

What is the practical application of doing this - other than for a job interview?

Wisekuma
Автор

got this question for my interview today.. Wish i had seen this before.

surabhipriya
Автор

Thankyou sir for awesome and such beautiful explanation.

shubamsharma
Автор

love your coding videos.thanks for your help. I have a quick question. If you have 5+ years of software engineer experience, should we only expect medium or hard problems?

aswink
Автор

Hi Kevin, Can you tell me what software you use to edit the videos with the music in the beginning and the end. Is it some mobile app or some Adobe software ?

ishanrtripathi
Автор

Awesome. Seems like the easiest method you come up with.

all-open-source
Автор

Thank you so much for breaking it down so neatly.

sumitghewade