Final state: - The LinkedList zeroDegree is empty. - All vertices have been output in topological sort order. - All vertices have 0 degree in the HashMap degreeOf. - The graph data structures have not changed.
Final state: - The LinkedList zeroDegree is empty. - All vertices have been output in topological sort order. - All vertices have 0 degree in the HashMap degreeOf. - The graph data structures have not changed.