Java. Program -must- have a run-time of one second or less.
The goal of this assignment is to take a file (movies.txt), andpaired with the following code meant for representing, building,and querying an undirected graph, implement the following featuresinto one piece of code:
//HELPER CODE BEGINS HERE:
import java.util.*;public class Graph{ int numVertex; int numEdge; ArrayList<ArrayList<Integer>> graph; public Graph(){ numEdge=0; graph = new ArrayList<ArrayList<Integer>>(); // for (int
PayPal Gateway not configured
PayPal Gateway not configured