Step 1: Naive method analysis.
If we find the minimum and maximum separately in an array of n elements,
it requires:
(n − 1) comparisons to find the minimum and
(n − 1) comparisons to find the maximum
Total comparisons = 2n − 2, which is not optimal.
Step 2: Optimal comparison strategy.
Using the tournament method, elements are compared in pairs.
Each comparison simultaneously helps determine candidates for minimum and maximum, reducing redundant comparisons.
Step 3: Count the number of comparisons.
With the optimal strategy, the number of comparisons required is:
3⌈n / 2⌉ − 2
This value is:
• Strictly greater than n
• Less than or equal to 3⌈n / 2⌉
Step 4: Final conclusion.
Therefore, the correct bound on the number of comparisons t is:
t > n and t ≤ 3⌈n / 2⌉
Final Answer: (C)