Тёмный

Number of Islands | Java | LeetCode Solution 200 

Tech Tutor
Подписаться 1,4 тыс.
Просмотров 1,5 тыс.
50% 1

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@mockmock-wv8gi
@mockmock-wv8gi 4 месяца назад
By far the most clear explanation I've seen thank you!!
@umarfarooqshaik2504
@umarfarooqshaik2504 5 месяцев назад
Nice explanation buddy,you have explained very well 👍👍👍
@dhanniekristanto
@dhanniekristanto 8 месяцев назад
after few similar 2D traversing case, I've finally have a better understanding of the dfs algorithm and this video helped a lot. thanks
@CodeCreated
@CodeCreated 7 месяцев назад
excellent explaination, you deserve more followers, I have my google interview 2 days later, wish me luck fam
@apyyymnmn3442
@apyyymnmn3442 9 месяцев назад
awesome, thanks buddy
@KENTOSI
@KENTOSI 3 месяца назад
Hey thanks for the solution, but is the worst case really n^2? Seems more like it would be n^4. Imagine a large grid of all 1s. You'll immediately enter the first tile and do a dfs across all tiles (n^2). But then when you exit the function you're still needing to loop across every time even though you've already covered it. Am I missing something here?
@aliciak9084
@aliciak9084 Год назад
very nice explanation!
@TechTutorRyan
@TechTutorRyan Год назад
Thanks!
Далее
Game of Life | Java | LeetCode Solution 289
17:50
Просмотров 3,9 тыс.
🧙‍♀️☃️💥 #ice #icequeen #winter
00:14
Просмотров 61 тыс.
Reverse Linked List | LeetCode 206 | Java
5:28
Watch Me Code a Retryable Feign Client with Java Spring
25:50
Java Spring Netflix Eureka Quick Start
15:09
Просмотров 1,1 тыс.