Clarifications
-
If you pass the public tests in Eclipse but not in the submit server then one possible cause
is the way you define the Graph class. Define it as Graph<E> and not as
Graph<E extends Comparable<E>>
- "Process adjacent vertices in alphabetical order" means you select vertices for insertion into
a stack or queue in alphabetical order. It does not mean that the output of DFS or BFS is
in alphabetical order
Web Accessibility