No video

Max Area of Island - Leetcode 695 - Graphs (Python)

  Рет қаралды 1,822

Greg Hogg

Greg Hogg

Күн бұрын

Master Data Structures & Algorithms for FREE at AlgoMap.io/
Code solutions in Python, Java, C++ and JS for this can be found at my GitHub repo here: github.com/gah...
Complete DSA Pathway Zero to Hero: • Data Structures & Algo...
Please check my playlists for free DSA problem solutions:
• Fundamental DSA Theory
• Array & String Questions
• 2 Pointers Questions
• Sliding Window Questions
• Binary Search Questions
• Stack Questions
• Linked List Questions
• Tree Questions
• Heap Questions
• Recursive Backtracking...
• Graph Questions
• Dynamic Programming (D...
My Data Science & ML KZfaq Playlist: • Greg's Path to Become ...
Learn Python and Data Science FASTER at mlnow.ai :)
Support the content: / @greghogg
Follow me on Instagram: / greghogg5
Connect with me on LinkedIn: / greghogg
Follow me on TikTok: / greghogg5
Coursera Plus: imp.i384100.ne...
My Favorite Courses:
Data Structures & Algorithms:
- UCalifornia San Diego DSA: imp.i384100.ne...
- Stanford Algorithms: imp.i384100.ne...
- Python Data Structures: imp.i384100.ne...
- Meta Coding Interview Prep: imp.i384100.ne...
Python:
- UMichigan Python for Everybody: imp.i384100.ne...
- Python Mastery from MLNOW.ai: mlnow.ai/cours...
- Google IT Automation w/ Python: imp.i384100.ne...
Web Dev / Full Stack:
- Meta Front-End Developer: imp.i384100.ne...
- IBM Full Stack Developer: imp.i384100.ne...
- Meta Back-End Developer: imp.i384100.ne...
- John Hopkins HTML, CSS & JS: imp.i384100.ne...
- IBM DevOps: imp.i384100.ne...
Cloud Development:
- AWS Fundamentals: imp.i384100.ne...
- GCP Cloud Engineer: imp.i384100.ne...
- Microsoft Azure Fundamentals: imp.i384100.ne...
Game Development:
- Michigan State Unity Development: imp.i384100.ne...
- UColorado C++ for Unreal Engine: www.coursera.o...
SQL & Data Science:
- SQL by MLNOW.ai: mlnow.ai/cours...
- Python for Data Science by MLNOW.ai: mlnow.ai/cours...
- Google Data Analytics: imp.i384100.ne...
- IBM Data Science: imp.i384100.ne...
- IBM Data Engineer: imp.i384100.ne...
Machine Learning & AI:
- ML Mastery at MLNOW.ai: mlnow.ai/cours...
- ML w/ Andrew Ng: www.coursera.o...
- Deep Learning w/ Andrew Ng: imp.i384100.ne...

Пікірлер: 16
@GregHogg
@GregHogg Ай бұрын
Master Data Structures & Algorithms For FREE at AlgoMap.io!
@anshpradhan1954
@anshpradhan1954 4 күн бұрын
Greg, I must say, Im in love with python cuz of you, thank you, python being on of those languages, which is easy to learn BUT hard to master, you did a pretty good job at convincing me to use it for solving leetcode problems, leetcode seems easier with python idk why 😂😂😂
@GregHogg
@GregHogg 4 күн бұрын
Leetcode is definitely easiest in Python lol
@KaushikkrSarma
@KaushikkrSarma 26 күн бұрын
Your explanation is really good , your website is awesome as well . I could finally do a graph problem on my own , all thanks to you greg , keep going 👍
@GregHogg
@GregHogg 26 күн бұрын
That's amazing! Very glad to hear it
@user-hu9nu8xu5g
@user-hu9nu8xu5g Ай бұрын
Bro you nail djt I understand, thank you bro
@anirudd01
@anirudd01 3 ай бұрын
This was amazing, you made it look easy , but yea it is easy now thanks to you, keep up the good work
@GregHogg
@GregHogg 3 ай бұрын
Super super glad to hear it. Thanks a ton 😊
@PhonesUnboxing
@PhonesUnboxing Ай бұрын
Can use BFS as well
@amazingmanish
@amazingmanish 3 ай бұрын
I thought of the same solution but forgot that it's actually DFS. Nice explanation. Good work buddy.
@GregHogg
@GregHogg 3 ай бұрын
Oh awesome! Thanks a bunch!
@marknuggets
@marknuggets 3 ай бұрын
Lol amazing quality
@GregHogg
@GregHogg 3 ай бұрын
Thank you so much!
@antonmykhailovskyi447
@antonmykhailovskyi447 3 ай бұрын
However, you are doing backtracking here and not dfs, aren`t you? Or am I missing something?
@GregHogg
@GregHogg 3 ай бұрын
There's an absurdly tiny difference between backtracking and DFS. Technically this is dfs because when we make a land (1) a water (0), we never undo (backtrack) this modification.
@antonmykhailovskyi447
@antonmykhailovskyi447 3 ай бұрын
@@GregHogg got it, thank you! I'm kind of new in this sphere, so I was a bit confused
Rotting Oranges - Leetcode 994 - Graphs (Python)
16:09
Greg Hogg
Рет қаралды 1,7 М.
UNO!
00:18
БРУНО
Рет қаралды 5 МЛН
Magic? 😨
00:14
Andrey Grechka
Рет қаралды 18 МЛН
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 44 МЛН
These coding projects give you an unfair advantage
8:13
Jason Goodison
Рет қаралды 1 МЛН
Pacific Atlantic Water Flow - Leetcode 417 - Graphs (Python)
17:10
Find if Path Exists in Graph - Leetcode 1971 - Graphs (Python)
12:20
Max Area of Island - Leetcode 695 - Python
11:14
NeetCode
Рет қаралды 56 М.
The LeetCode Fallacy
6:08
NeetCode
Рет қаралды 480 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 252 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 953 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 502 М.
Number of Islands - Leetcode 200 - Graphs (Python)
11:01
Greg Hogg
Рет қаралды 4,6 М.
UNO!
00:18
БРУНО
Рет қаралды 5 МЛН