Number of Islands - Leetcode 200 - Graphs (Python)

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


Please check my playlists for free DSA problem solutions:

My Favorite Courses:

Data Structures & Algorithms:

Python:

Web Dev / Full Stack:

Cloud Development:

Game Development:

SQL & Data Science:

Machine Learning & AI:
Рекомендации по теме
Комментарии
Автор

Master Data Structures & Algorithms For FREE at AlgoMap.io!

GregHogg
Автор

I am a Secondary student who is currently learning Python in the coding class in school and at home by myself, and I was doing this leetcode question and find this diffcult. So I looked up on YouTube and found this video, this video gives me a very clean concepts of this question for what to do. Thank you so much!

CyrusWong-yquw
Автор

Totally love the explanation. Your voice is very stable so really like it !

MuhammadFahreza
Автор

Had this question in interview with Disney for consulting. Thankfully I at least skimmed solution beforehand. Only had ~70% of coding part but answered most of other qs & hope I move forward.

jameshizon
Автор

i’ve been killing my brain all day over this, not being able to comprehend some other solutions i saw but this makes so much more sense to me and it’s so well explained (have an interview tomorrow ) 😭😭

mint
Автор

This was a really clear and straightforward explanation. I appreciate it, man!

CRPResearch
Автор

Can you explain the "flow" of execution. When a recursive function calls itself, the execution flow "pauses" at the line where the recursive call is made and a new instance of the dfs function starts executing from the beginning, thats little bit hard to imagine and follow in mind

mohammadamintorabi
Автор

Hi, thanks for this video, just a quick question: why do we need to do dfs in up and left directions? These cells will be already considered (before (i, j) cell), because main function traverses grid from left to right, from up to buttom?

dima.garotas
Автор

Awesome Explanation my fav Canadian man

adithyar
Автор

I have a question, I head that C++ is powerful than python solving problems especially in timelimit, do you think there is implementation in python that fill this gap between the two

yassineouahmane
Автор

Hi, can you make a Meta-quest browser extension In which instead of a background? There will be transparent screens, well, or translucent ones, like Vision pro.

vany
Автор

Thanks Greg for the proper & detailed explanation espl updating grid position :) That helped me after looking up solution from 3 more places before.

dhruva
welcome to shbcf.ru