A graph with relatively few edges is called:
Search Results
Searching for: graphs
Individual Exercises
A graph with many edges is called:
A graph that does not have a path of length 3 or more that connects a node v to itself is:
A directed graph is one
A complete graph is one which each pair of vertices:
A DAG is:
The sequence of vertices v1...vn with edges connecting all the vertices is called:
Trees and lists are special cases of graphs.
Based on the adjacency matrix shown below, which of the following statements is true:
The adjacency matrix shown below is an accurate representation of the graph shown below.
On a breadth first search traversal of the graph shown below, and starting at node a, the first three nodes visited are:
On a depth first search traversal of the graph shown below, and starting at node a, the first three nodes visited are:
You have created an adjacency matrix with enough space to store the distances between May Tricks' magic shops. Now it is time to enter...
Given is an adjacency matrix and a starting index.
Complete the breadth first traversal method. Comments noted with //_________________...
May Tricks owns a chain of magic shops. She hands you a list of her store locations and asks you to find a way of quickly looking up the...
Given is an adjacency matrix and a starting index.
Complete the depth first traversal method. Comments noted with //_________________ are...
Given is the number of edges and vertices in a directed graph. Using this information return the density of the graph.
Number of possible...
As a wild publicity stunt May Tricks has made her Middletown store disappear! You have no idea how she did this or if the store will ever...
Since May Tricks has proved to be a very unpredictable client you have decided to take extra precautions. By creating a remove vertex...