Fix package declarations (#2576)

This commit is contained in:
Aitor Fidalgo Sánchez
2021-10-16 16:43:51 +03:00
committed by GitHub
parent 60a0c23544
commit 2b7a977cc8
42 changed files with 68 additions and 55 deletions

View File

@ -1,4 +1,4 @@
package Graphs;
package DataStructures.Graphs;
import java.util.ArrayList;
import java.util.Map;
@ -104,7 +104,6 @@ class TopologicalSort<E extends Comparable<E>>{
*/
ArrayList<E> topSortOrder(){
calculateInDegree();
int count = 0;
Queue<E> q = new LinkedList<E>();
for(E vertex: inDegree.keySet()){