Question: (8) Consider the problem for finding the maximum of n numbers. Prove that any algorithm that solves this problem by only comparing, has to perform

(8) Consider the problem for finding the maximum of n numbers. Prove that any algorithm that solves this problem by only comparing, has to perform at least n - 1 comparisons in the worst case
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
