some of the links to solve graph java assignment .. https://www.cs.princeton.edu/~rs/AlgsDS07/15ShortestPaths.pdf https://www.cs.princeton.edu/~rs/AlgsDS07/15ShortestPaths.pdf https://brilliant.org/wiki/depth-first-search-dfs/ https://en.wikipedia.org/wiki/Depth-first_search
Read more