Applications of BFS and DFS

  Рет қаралды 43,221

Design and Analysis of Algorithms

Design and Analysis of Algorithms

Күн бұрын

To access the translated content:
1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/tr...
The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video.
Your feedback is highly appreciated. Kindly fill this form forms.gle/XFZh...
2. Regional language subtitles available for this course
To watch the subtitles in regional languages:
1. Click on the lecture under Course Details.
2. Play the video.
3. Now click on the Settings icon and a list of features will display
4. From that select the option Subtitles/CC.
5. Now select the Language from the available languages to read the subtitle in the regional language.

Пікірлер: 11
@anuragbose2622
@anuragbose2622 Жыл бұрын
Thank you very much for these applications. It helped me solve many questions .
@nitinat3590
@nitinat3590 3 жыл бұрын
Brilliant Stuff! Thanks a lot for sharing.
@VinayRachapalli
@VinayRachapalli 3 жыл бұрын
is minimum no.of edges to be removed to make a graph acyclic is no.of back edges??
@ananyakashyap4759
@ananyakashyap4759 4 жыл бұрын
Very Informative. Thanks
@MultiAbhishek1997
@MultiAbhishek1997 6 жыл бұрын
@14:00 he says a cross edge cant go from lower vertex to higher vertex but in the diagram he has drawn the edge from 4 to 8 . Can any one explain how ?
@abhishekpundir575
@abhishekpundir575 5 жыл бұрын
I think what he means is that cross edge can't go from a lower to higher vertex based upon their starting and finishing time , like we can't have cross edge from vertex 2 to 4 because if we would have such an edge then we would discover 4 using 2 rather than going back to 1 and then going to 4.
@sudheerays9559
@sudheerays9559 5 жыл бұрын
by higher vertex he means ancestor and by lower vertex he means descendant, 8 is not ancestor of 4 ....
@CrackingTheGames
@CrackingTheGames 3 жыл бұрын
Think of a cross edge as an edge connecting siblings in the tree
@ritwik121
@ritwik121 2 жыл бұрын
kzbin.info/www/bejne/iHWkYqF9qKqJgrs -> here is the updated video by the same professor.... he explained ur confussion clearly in the updated video. He was basically saying - A edge from node 'u' to node 'v' can be marked as a cross edge if both the vertices dont share a ancestor descendant relationship and also node 'v' 's starting time should be more than node 'u' 's finishing time.
@curious_banda
@curious_banda Жыл бұрын
He says higher number, not vertex. By number, he means DFS number. Since DFS number are chronological, thus if Y has higher DFS number than X, Y was encountered later than X. Thus, only a cross edge Y->X can exist. If an edge X->Y exists, Y will be explored while exploring X, and thus would become a child.