1. If a sequential search function is searching for a value that is stored in the last element of a 10,000-element array, how many elements will the search code have to read to locate the value?
2. In an average case involving an array of n elements, how many times will a sequential search function have to read the array to locate a specific value?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here