Rotting Oranges - Leetcode 994 - Graphs (Python)

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

Greg Hogg

Greg Hogg

Күн бұрын

Пікірлер: 16
@GregHogg
@GregHogg 4 ай бұрын
Master Data Structures & Algorithms For FREE at AlgoMap.io!
@ajitsdeshpande
@ajitsdeshpande 6 ай бұрын
Hi Greg, thank you for all the efforts in explaining and coding the solutions which have helped me learn. All the Best!👍
@GregHogg
@GregHogg 6 ай бұрын
Wow! Thank you so much! That's so nice of you :) 🥰
@shreehari2589
@shreehari2589 6 ай бұрын
What is the name of the paint tool you are using? I need it to practice
@MemeIntellect
@MemeIntellect 26 күн бұрын
he use miro
@clara-wj3vl
@clara-wj3vl 2 ай бұрын
very well explained! (I appreciate particularly the clear illustration 😍
@ПавелКуликов-ж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
Каха и лужа  #непосредственнокаха
00:15
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 13 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 133 МЛН
Rotting Oranges | Directional Arrays & BFS | LeetCode
14:55
AlgosWithMichael
Рет қаралды 4,9 М.
Rotting Oranges - Leetcode 994 - Python
12:19
NeetCode
Рет қаралды 111 М.
Coin Change - Leetcode 322 - Dynamic Programming (Python)
15:27
Rotting Oranges - LeetCode 994 - Python #bfs #leetcode #leetcode75
15:31
How I Approach a New Leetcode Problem (live problem solving)
25:31
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 577 М.
The Truth About Learning Python in 2024
9:38
Internet Made Coder
Рет қаралды 215 М.
Каха и лужа  #непосредственнокаха
00:15