6.12 Bridges(Cut Edge) in a Graph | Find All Bridges in a Graph | Graph Theory

  Рет қаралды 114,748

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

In this video I have explained how to find all Bridges in a Graph using DFS Traversal. Bridge is also known as Cut Edge.
DSA Full Course: https: • Data Structures and Al...
******************************************
See Complete Playlists:
C Programming Course: • Programming in C
C++ Programming: • C++ Complete Course
Python Full Course: • Python - Basic to Advance
Printing Pattern in C: • Printing Pattern Progr...
DAA Course: • Design and Analysis of...
Placement Series: • Placements Series
Dynamic Programming: • Dynamic Programming
Operating Systems: // • Operating Systems
DBMS: • DBMS (Database Managem...
********************************************
Connect & Contact Me:
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/...
Instagram: / jayantikhatrilamba
#graphtheory #bridgeinGraph #datastructures #jennyslectures

Пікірлер: 166
@ravisingh-el8np
@ravisingh-el8np Жыл бұрын
can't be better explained watched take u forward video techdose video and love babbar video no video comes close to this . This video even beingg so old explains the concept clearly. Really old is gold. Keep up the good work mam.
@shayideepsangam2832
@shayideepsangam2832 5 жыл бұрын
Best Explanation till now on KZbin for Finding Bridges in Graph!! Thanks a lot, Ma'am.
@mahtoji8935
@mahtoji8935 Жыл бұрын
I don't think that the explanation for this concept can be better than this .. If you watch any of the others youtube channel no one has explained this concept in such a beautiful wayy..... Salute to your Knowledge mam
@luco-games
@luco-games 4 жыл бұрын
I watched 10 different videos and understood only yours! Thank you SOOO MUCH!!! Greetings from Sydney :)
@sanjayulsha
@sanjayulsha 4 жыл бұрын
Very well explained with thought process & intuition, struggled with other videos on youtube.
@kartikagarwal5414
@kartikagarwal5414 4 жыл бұрын
this is by far the best explanation of this topic i have found online
@mohammadsami3734
@mohammadsami3734 Жыл бұрын
imo, This is one of the most Well Explained YT Video of all time. Hats off to you Maam ❤❤
@anushacheedella2291
@anushacheedella2291 3 жыл бұрын
After seeing many videos for this problem...Only yours gave answer to my desperation .. thank you so much Jenny..
@Page_Turners_Hub
@Page_Turners_Hub 4 жыл бұрын
she teaches so amazingly , wondering why she has so less subs ? She deserves way more
@UjjwalSingh-e6j
@UjjwalSingh-e6j 6 ай бұрын
okk let's be true, i am completing my DSA from love babbar playlist, although i've watched several of your videos earlier but it was mainly for my college subjects. And by god, this algo is so freaking hard, couldn't understand it by love babbar or any other video on youtube, but the way you presented it, it's just phenomenal. Hats off to you, you're the best. RESPECT++.
@shubhamk840
@shubhamk840 4 жыл бұрын
thank you so much, most detailed explanation on this topic all over youtube is here
@inspired_enough_to_grow_up
@inspired_enough_to_grow_up 4 жыл бұрын
I approach a girl, she : 6:46
@170_adityaanmol8
@170_adityaanmol8 4 жыл бұрын
haha
@bitbyte8177
@bitbyte8177 4 жыл бұрын
Happens with me every-time when I approach any girl x(
@goldent4655
@goldent4655 4 жыл бұрын
I was stressing out for the exam. Thanks for your comment haha
@rajparekh08
@rajparekh08 4 жыл бұрын
i don't think i will ever forget this algorithm - thanks to this :)
@shoyaishida3605
@shoyaishida3605 2 жыл бұрын
🤣😆
@UnboxTheCat
@UnboxTheCat 4 жыл бұрын
a comprehensive video that contains all the details, ++rep
@asfahanahmad7959
@asfahanahmad7959 5 жыл бұрын
your way of teaching is good thank for this vedio
@tanyagupta4247
@tanyagupta4247 2 жыл бұрын
After trying to understand it so many times I came to youuu , explanation is best!!
@SatyamEdits
@SatyamEdits 2 жыл бұрын
And we meet again!! 😂
@vamshisamsetty186
@vamshisamsetty186 2 жыл бұрын
Ahh....Finally I understood the concept with your video. Thanks!!
@hymnish_you
@hymnish_you 3 жыл бұрын
Apologies, I never refer your videos to study. But from this video, I became your fan. Such a tough concept is explained beautifully. Here is Java code, did what Jenny said. ``` class Solution { private int currTime; Solution(){ this.currTime = 0; } public List criticalConnections(int n, List connections) { List[] graph = new ArrayList[n]; // Construction of graph for(int i = 0; i < n; i++){ graph[i] = new ArrayList(); } for(List connection : connections){ int first = connection.get(0); int second = connection.get(1); graph[first].add(second); graph[second].add(first); } int[] tIn = new int[n]; Arrays.fill(tIn, -1); List result = new ArrayList(); findBridges(graph, 0, -1, tIn, result); return result; } private int findBridges(List[] graph, int node, int parent, int[] tIn, List result){ tIn[node] = ++currTime; List nbrs = graph[node]; int min = tIn[node]; for(int nbr : nbrs){ int val = tIn[nbr]; if(val == -1){ val = findBridges(graph, nbr, node, tIn, result); if(parent != nbr) min = Math.min(val, min); if(val > tIn[node]){ result.add(Arrays.asList(node, nbr)); } } if(nbr != parent){ min = Math.min(min, tIn[nbr]); } } return min; } } ```
@simakeshri5890
@simakeshri5890 2 жыл бұрын
Best explanation till now on KZbin
@willturner3440
@willturner3440 3 жыл бұрын
I came here after more than 1 yr , you again rock ma'am 🤟 ..
@Highlights_Point
@Highlights_Point 2 жыл бұрын
I don't know how can i thank you mam . know one in yt explain this concept perfect just like you
@souradeepghosh5273
@souradeepghosh5273 3 жыл бұрын
ma'am you're fabulous. I watched so amny videos of tarjan's algo as well but couldn't understand. The way you explained. Hats off. You're the best
@hope-jh7bv
@hope-jh7bv 4 жыл бұрын
Thank you so much ma'am. You taught this complex topic so easily.
@003abhinashkumarjha8
@003abhinashkumarjha8 2 жыл бұрын
no doubt this is the best explanation of finding bridge on youtube
@sarthaksingh2145
@sarthaksingh2145 2 жыл бұрын
Understood it in one go...Amazing🔥🔥
@wired.raskolnikov
@wired.raskolnikov 2 ай бұрын
this helped me so much, thank you for your good work!
@jaatharsh
@jaatharsh 3 жыл бұрын
this is fabulous, most precise n clear explanation for Tarjan's algorithm
@NohandleReqd
@NohandleReqd 4 жыл бұрын
Jenny! mai to tharro fan ban gaya!!! Thank you!
@nandiniverma5273
@nandiniverma5273 2 жыл бұрын
Mam, nobody explained the way you explained this bridges concept clearly. I was soo confused but you explained soo well. Thankyou soo much mam
@mahimsd7645
@mahimsd7645 5 жыл бұрын
Excellent work Jenny !!!!!
@priyanshsahu4901
@priyanshsahu4901 3 ай бұрын
thank you mam for taking this example, it helped me understand algo better
@2020naruto
@2020naruto 2 жыл бұрын
best explanation till now on youtube for finding bridges in graph....Thanks a lot ma'am....ma'am please also do with the code as if possible so that we don't need to find of its code . if we get confused some how ..?
@jlecampana
@jlecampana 5 жыл бұрын
What a Fantastic Explanation!!! Thanks Jenny, you're an Angel.
@bhavyashandilya2907
@bhavyashandilya2907 2 жыл бұрын
Brilliant Explanation
@ujjvalsharma5055
@ujjvalsharma5055 4 жыл бұрын
This is such a great video and hats of to your explanation. Please keep up the good work and I must tell you that you are doing a great job :)
@shivnathsinghgaur5972
@shivnathsinghgaur5972 2 жыл бұрын
Thanks a lot, i have spent more time on that but now i got it.
@ragavendradixit
@ragavendradixit Жыл бұрын
What an awesome explanation!
@adipratapsinghaps
@adipratapsinghaps 4 жыл бұрын
Great explaination. I have seen so many videos. Yours was the simplest and the clearest. Can you also write the code?
@sukritakhauri65
@sukritakhauri65 2 жыл бұрын
Your Explanation is awesome
@vikrantbharduaj1963
@vikrantbharduaj1963 2 жыл бұрын
Very nice mam Now I able to understand intitution and logic of this algorithm
@peoplechoice7848
@peoplechoice7848 2 жыл бұрын
coming here after watching striver/take u forward's video
@aryanyadav3926
@aryanyadav3926 2 жыл бұрын
Wonderful explanation!
@arnavsatrusal2480
@arnavsatrusal2480 2 жыл бұрын
Great explanation.
@fanjiang6412
@fanjiang6412 4 жыл бұрын
Best and clearest explanation!
@strgglr4637
@strgglr4637 2 жыл бұрын
I don't know someone whose explanation on this topic is better than you.
@maneeshkumarpatel9874
@maneeshkumarpatel9874 5 жыл бұрын
But ma'am i don't know anyone who is better than you... love your lectures
@udaysaiphanindra3138
@udaysaiphanindra3138 4 жыл бұрын
Thank you for this lecture.... well explained
@ashfaqhussain761
@ashfaqhussain761 2 жыл бұрын
Best Explanation 👍
@PankajYadav-oj9jz
@PankajYadav-oj9jz 5 жыл бұрын
It was an amazing explanation mam. Love u😊
@JennyslecturesCSIT
@JennyslecturesCSIT 5 жыл бұрын
Thanks Pankaj.... Thank you for the support. It’s great to be part of your success.
@sayantaniguha8519
@sayantaniguha8519 4 жыл бұрын
@@JennyslecturesCSIT Can I have the code?
@samirpandey8538
@samirpandey8538 2 жыл бұрын
Amazing explanation!!
@madhupocham
@madhupocham 4 жыл бұрын
Very good explanation. Understood very well, and am able to write program all by myself. Thanks Mam.
@mohitkumarbansal3486
@mohitkumarbansal3486 2 жыл бұрын
great explanation
@manthenanagendra1077
@manthenanagendra1077 2 жыл бұрын
wow vey well explained
@gemix3858
@gemix3858 5 жыл бұрын
A little correction. At 4:00, you said B can go to A only. But it can go to E too.
@joshithmurthy6209
@joshithmurthy6209 2 жыл бұрын
Thank you for the detailed explaination
@pacman46811
@pacman46811 2 жыл бұрын
Underrated!
@rudrapratap3303
@rudrapratap3303 2 жыл бұрын
nice explanation!!
@kousthubhtadanki1237
@kousthubhtadanki1237 2 жыл бұрын
nice explanation!!!
@chinmaytripurwar3222
@chinmaytripurwar3222 3 жыл бұрын
Great Explanation!
@SreekantShenoy
@SreekantShenoy 2 жыл бұрын
wew the best explanation.
@PriyankaSingh-pn8xv
@PriyankaSingh-pn8xv 3 жыл бұрын
Amazing explanation
@hariohmprasath
@hariohmprasath 4 жыл бұрын
Thanks a lot for all your wonderful lectures
@ashwanisharma8903
@ashwanisharma8903 2 жыл бұрын
TIP: Reason why we need to check of the current min time is greater than the next vertex :- If a vertex is having a child such that the earliest discovered vertex that can be reached from the vertices in the subtree rooted at has a discovery time greater than or equal to , then does not have a back edge, and thus will be an articulation point. where back edge is an edge which can connect to the parent of parent.
@royalfalcon2021
@royalfalcon2021 3 жыл бұрын
M phle see kisi ke sath connected hu I know someone who is better than you Mera koi ni kaat sakta Mko phle se kisi ne pakad rakha hai I have a BF These are not just Girls things, THIS IS GRAPH MAN Best video on Bridges in a Graph After so many lectures now I understand it
@krishnachaitanya2520
@krishnachaitanya2520 4 жыл бұрын
Great explanation! Thank you.
@interesting.finds.1857
@interesting.finds.1857 2 жыл бұрын
Nice explanation mam
@abinvarghese4153
@abinvarghese4153 4 жыл бұрын
Very good explanation.
@zohaib._.rehman03
@zohaib._.rehman03 10 ай бұрын
Thanks alot mam❤❤
@vikrantbharduaj1963
@vikrantbharduaj1963 2 жыл бұрын
Amazing Mam
@csedepartment236
@csedepartment236 2 жыл бұрын
Thank You Ma'am
@rakeshkumarbiswal9489
@rakeshkumarbiswal9489 5 жыл бұрын
best explanation
@shivamverma9447
@shivamverma9447 3 жыл бұрын
excellent explanation 💯
@rohitpal36
@rohitpal36 4 жыл бұрын
awesome explanation maam
@Shadow-lx9rh
@Shadow-lx9rh 2 жыл бұрын
Thank you understood the concept very well. 🙏
@somsk56
@somsk56 Жыл бұрын
well explained
@vinodjain14
@vinodjain14 4 жыл бұрын
superb explanation !!!
@fahadisrar2195
@fahadisrar2195 4 жыл бұрын
Your video is awesome. Thanks for helping us out.
@gemix3858
@gemix3858 5 жыл бұрын
5:19 "What is the FANDA" XD Well Explained!!!
@raghavgoel419
@raghavgoel419 4 жыл бұрын
You may call it "concept behind it"
@bhaveshkumar6842
@bhaveshkumar6842 2 жыл бұрын
Thanks for such a brilliant explanation!
@nikunjgarg3754
@nikunjgarg3754 2 жыл бұрын
Very nice explanation ma'am. I don't understood about this find all bridges algo on other yt channels.
@abhishekkumarjhariya1340
@abhishekkumarjhariya1340 3 жыл бұрын
Now I got the real intuition behind , why are we keep tracking of lowest visited time of adjacent vertices .Thanks for explanation.
@piyushmishra860
@piyushmishra860 3 жыл бұрын
Tq so muchh mam 💖
@deveshranjan6204
@deveshranjan6204 4 жыл бұрын
really very nice explaination
@cachegrk
@cachegrk 5 жыл бұрын
Well explained ! It would be nice to have the entire video in English! This can attract lot of international candidates.
@marinamaher8211
@marinamaher8211 4 жыл бұрын
Great explanation,Thanks.
@DrakeHDxgaming
@DrakeHDxgaming 11 ай бұрын
wow this took a while to abosrb. Its a mental gymnastic in my head at start
@minhazarfin837
@minhazarfin837 5 жыл бұрын
It was Very helpful 😍
@Funtura110
@Funtura110 2 жыл бұрын
Thank you!
@vrajpatel1877
@vrajpatel1877 Жыл бұрын
Thanks 🙏🏽👍
@marcus48134
@marcus48134 4 жыл бұрын
Good explanation. Thanks
@rahulnagwanshi2348
@rahulnagwanshi2348 2 жыл бұрын
Jenny: "I know someone who is better than you because he came before you" Me: *crying in the corner*
@ilfat_khairullin
@ilfat_khairullin 4 жыл бұрын
Thank you! Very good explanation!!!
@ShaliniNegi24
@ShaliniNegi24 2 жыл бұрын
Thank you :)
@tanmaiysethia176
@tanmaiysethia176 5 жыл бұрын
very well done , explain was simple and lucid
@adityakr6124
@adityakr6124 4 жыл бұрын
Very well explained :D Thanks!
@mohanrajs9917
@mohanrajs9917 4 жыл бұрын
Thank you so much mam
@kayalvizhikalaichelvan5283
@kayalvizhikalaichelvan5283 4 жыл бұрын
Good explanation. Very Useful. Thanks a lot. :)
@ayushijain3340
@ayushijain3340 4 жыл бұрын
Thank you so much!! Your videos have helped me alot :-). You are beauty with brains :--)
@yt_se_yt
@yt_se_yt 2 жыл бұрын
Thanks
@saurabhsinha8913
@saurabhsinha8913 3 ай бұрын
Best explanation on difficult graph example
@rishabkumar4940
@rishabkumar4940 5 жыл бұрын
A lot of thanks, I was struggling to understand it.
6.13 Dijkstra Algorithm | Single Source Shortest Path| Greedy Method
34:36
Jenny's Lectures CS IT
Рет қаралды 1,6 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Bridges in Graph | Cut Edges | Graph Theory #21
5:42
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 37 М.
Find Bridges in a graph using Tarjans Algorithm | Cut Edge
23:27
How Dijkstra's Algorithm Works
8:31
Spanning Tree
Рет қаралды 1,4 МЛН
G-56. Articulation Point in Graph
22:00
take U forward
Рет қаралды 118 М.
6.3 Types of Edges in DFS | Edge Classification | Data Structures and Algorithms
25:53
Bridges in Graph | Cut Edge
22:58
take U forward
Рет қаралды 82 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН