Master Kahn's algorithm for topological sorting. Learn how to use in-degrees and a queue-based BFS approach to linearly order vertices in a DAG.