Topological Sort Visualized and Explained

preview_player
Показать описание

This video should give you a quick overview of Topological Sort.

The animations are made with my tool Alvis.

Feel free to leave a comment if you find a mistake. You can also open an issue on GitHub.

Thanks for watching!
Рекомендации по теме
Комментарии
Автор

Best explanation/visualization by far! Thank you my G!

nivethanyogarajah
Автор

Excellent visualization, seen many videos and this is by far the clearest. Well done

cameron
Автор

"we have explored all the children" ok then ...

thiagaodavez
Автор

Awesome! This is spot on fundamental.
Thanks

evamkaushik
Автор

thank you for this visual and explaination!

XxMonkeyACCxX
Автор

Why did your DFS explore F before E? Am I wrong in assuming it's going in alphabetical order?

henrywillis
Автор

I guess it was as I expected, the recursive implementation seems trivial enough, I wonder how you would implement topological sort via iteration, the "go backwards" with dfs using iteration seems challenging

Oscar-vsyw
Автор

If I have a list of valid output nodes, how do I identify dead ends (paths that don't lead to a single valid output node) and skip them in the algorithm?

Antagon
Автор

but how are you going to K even if G points to it and he have not visited it yet?

sol-iv-
Автор

i just wonder that in the ABC, E come first so why would you choose to go with F.

hainguyendong
Автор

Yeah, but how we go from array to graph, we need additional functions.

__hannibaal__
Автор

Hope you always have toilet paper in the public restroom!!!

jonathanwang