Critical Connections in a Network | Leetcode 1192 | Tarjan Algorithm 🔥🔥🔥 | Easy Peasy

preview_player
Показать описание
Here is the solution to "Critical Connections in a Network" leetcode question. Hope you have a great time going through it.

🎉 Chapters
0:00 Introduction
1:00 Step y Step Algorithm
3:00 Test Case Iteration
18:00 Coding It up

🔥🔥🔥🔥👇👇👇 For discussion/feedback/humour/doubts/new openings

👉 Solutions

🔥🔥🔥🔥👇👇👇 For discussion/feedback/humour/doubts/new openings

🔴 Checkout the series: 🔥🔥🔥

🔥🔥🔥 Leetcode Monthly Contest Playlist

PS : Please increase the speed to 1.25X
Рекомендации по теме
Комментарии
Автор

the others spent 2 hours to explain the same idea in this video. you really saved my time!

hoyinli
Автор

mera aj ka din nikal gya tarjan algorithm smzne m... and apka video dekh k smz gya

NihalSingh-lden
Автор

Thanks buddy. From morning I was waiting for your video.

avinashjaiswal
Автор

Awesome explanation, best on youtube. Respect++ was banging my head since morning

arnabmishra
Автор

at 11:15, if 3's next call goes to 5 instead of 4, would the ans still work? because basically it should be able to choose any of its adjacent nodes right?

divyareddy
Автор

hey y do u compare cache value y don't u compare it with updated (least) value of current node with its ngh

kartikkumar-
Автор

One question here, conceptually, could you please let me know in case of nodes forming a loop we are updating higher nodes values with lower one! But while the nodes are not forming any loop(it is visibly critical one from the image !) there we are comparing nodes values but not updating with lower values and saying as the value got differ hence critical one! Is it while backtracking we are updating only next node value against the current node?
Let me know if the question is not clear to understand.

MixedPlatter
Автор

how u come to know this algorithm have u read it before?pls guide

vinodthakar
Автор

first time, your video confused me af

crackthecode
visit shbcf.ru