consider an array storing the values 1 through 1000 in that order. Identify the sequence of probes that would be made in searching for the value 487 for both the linear and binary search. How many probes are there for the linear and binary search?
That is the question. I have a binary and linear search programs but I cant seem to add a counter.
