Graph Data Structure 3. Traversing a Graph (algorithms)

preview_player
Показать описание
This is the third in a series of videos about the graph data structure, including how to search a graph by systematically by visiting each and every vertex, namely, how to traverse a graph. Depth first traversal is compared with breadth first traversal, including explanations of how depth first traversal can make use of a stack data structure, and how breadth first traversal can make use of a queue data structure.
Рекомендации по теме
Комментарии
Автор

I hadn't noticed queues and stacks role in traversing graphs. Thanks a lot for the video!

fatihsaidduran
Автор

Wow! Salute you Sir!! You're a great teacher!! I had never come across one in my life yet that could teach complex subjects in simple terms like the way you did!!

sckishore
Автор

The explanation was so simple and easy to understand! Thank you very much!!

hoppingturtles
Автор

Amazingly Explained. This video needs more views.

Lyaz
Автор

Thank you for the video! Your explanations and visualizations are concise and helpful.

SauerkrautHead
Автор

This channel has amazing content, it's insane. Gracias :)

diegomelogaiero
Автор

It is not declared, but you assumed that from the current vertex, the next vertex to visit, among the candidates, is the one having the nearest letter from the current letter in an alphabetical order. - For example: in DFS, from A, the next vertex chosen is B, and not C or D, because B is the nearest to the letter A. - If we take instead the farthest, in alphabetical order, from the current letter starting from A, we should have: A, D, G, H, C, F, I, B, E.

caver