Solved

The Following Code Is an Example of a ___ Search

Question 13

Multiple Choice

The following code is an example of a ___ search. public static int search(int[] a, int v)
{
For (int i = 0; i < a.length; i++)
{
If (a[i] == v) { return i; }
}
Return -1;
}


A) sorted
B) binary
C) linear
D) random

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions