Bruno Pedro's public notes


Found at “Topological Sorting using BFS - Kahn’s Algorithm” on 2026-09-01T17:56:20+02:00.

Given a Directed Acyclic Graph having V vertices and E edges, find any Topological Sorted ordering of the graph.