Q2.10
MCQ2 marks, −0.5Consider the following algorithm for searching for a given number in an unsorted array having distinct values: Assuming that is present in , what is the expected number of comparisons made by the algorithm before it terminates?
Sign in to save attempts.
Loading…