Rotting Oranges - Leetcode 994 - Graphs (Python)

  Рет қаралды 3,243

Greg Hogg

Greg Hogg

Күн бұрын

Пікірлер: 16
@GregHogg
@GregHogg 3 ай бұрын
Master Data Structures & Algorithms For FREE at AlgoMap.io!
@ajitsdeshpande
@ajitsdeshpande 5 ай бұрын
Hi Greg, thank you for all the efforts in explaining and coding the solutions which have helped me learn. All the Best!👍
@GregHogg
@GregHogg 5 ай бұрын
Wow! Thank you so much! That's so nice of you :) 🥰
@clara-wj3vl
@clara-wj3vl 2 ай бұрын
very well explained! (I appreciate particularly the clear illustration 😍
@shreehari2589
@shreehari2589 6 ай бұрын
What is the name of the paint tool you are using? I need it to practice
@MemeIntellect
@MemeIntellect 15 күн бұрын
he use miro
@ПавелКуликов-ж9н
@ПавелКуликов-ж9н 6 ай бұрын
What is the reason to use another for loop on 23 line? You have already have while q: ... I think you do not need this loop and q_size var, is not it? You just popleft element and make 25 line loop without 23 line
@GregHogg
@GregHogg 6 ай бұрын
Then how would you organize it by rounds?
@ПавелКуликов-ж9н
@ПавелКуликов-ж9н 6 ай бұрын
Got you! Thank you for video and answer to my question. I’ve forgotten about minutes we need :))
@GregHogg
@GregHogg 6 ай бұрын
@@ПавелКуликов-ж9н You're very welcome :)
@GarouNguyen
@GarouNguyen 4 ай бұрын
Bro how you calculate minute
@abdulhannan8129
@abdulhannan8129 6 ай бұрын
Hello sir. Sir I am not good at maths so can I learn and practice dsa and actually become good at it??
@GregHogg
@GregHogg 6 ай бұрын
Yeah you don't really need math
@abdulhannan8129
@abdulhannan8129 6 ай бұрын
@@GregHogg thank you sir I just really want to become like you in dsa
@GarouNguyen
@GarouNguyen 4 ай бұрын
Why you set minutes = -1 and what is q_size, just not use len q alone bro, I don't understand 😣😣
@Swifty1412
@Swifty1412 Ай бұрын
Because the size of the queue will constantly be changing, by capturing the size in the variable you can make sure you only process the neighbors
Pacific Atlantic Water Flow - Leetcode 417 - Graphs (Python)
17:10
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 46 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 1,5 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2 МЛН
Rotting Oranges - Leetcode 994 - Python
12:19
NeetCode
Рет қаралды 109 М.
Rotting Oranges | Directional Arrays & BFS | LeetCode
14:55
AlgosWithMichael
Рет қаралды 4,8 М.
Number of Islands - Leetcode 200 - Graphs (Python)
11:01
Greg Hogg
Рет қаралды 10 М.
Rotting Oranges
15:44
Kevin Naughton Jr.
Рет қаралды 64 М.
Koko Eating Bananas - Leetcode 875 - Binary Search (Python)
13:34
Open the Lock - Leetcode 752 - Python
14:22
NeetCode
Рет қаралды 41 М.
Rotting Oranges - LeetCode 994 - Python #bfs #leetcode #leetcode75
15:31
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 46 МЛН