Introduce topological sort with the solution using both DFS and BFS. Free download code in Java, JavaScript and Python.