Search Results

Searching for: Java

Individual Exercises

0 / 10

The sequence of vertices v1...vn with edges connecting all the vertices is called:

0 / 10

Based on the adjacency matrix shown below, which of the following statements is true:

0 / 10

The adjacency matrix shown below is an accurate representation of the graph shown below.

0 / 10

On a breadth first search traversal of the graph shown below, and starting at node a, the first three nodes visited are:

0 / 10

On a depth first search traversal of the graph shown below, and starting at node a, the first three nodes visited are:

0 / 10

Recursive procedure that returns the number of H in a string of heads (H) or tails (T) outcomes. This must be a recursive routine. You...

0 / 10

Consider a linear search as shown below.

int linearSearch(int w, int[] num) { // linear search code here } 

Assume you call this method...