Csci2110 Assignment 5 create and use graphs, implement various algorithms on graphs

I’m stuck on a Java question and need an explanation.

The purpose of this assignment is to get you to create and use graphs, implement various algorithms on graphs, and further improve your programming skills. As discussed in class and the first tutorial, for each problem you will be provided with a description of the problem and a set of tests. These tests can be run on Mimir or the unix server for this course. Your code must compile. If it does not compile, you will receive a 0 on the assignment.

Only the first 2 problems need to be finished. Due: 11:59 pm, Thursday, April 2, 2020