asked 219k views
5 votes
What is the average-case number of comparisons performed by the comparison tree, assuming that any permutation of the four inputs is equally likely

1 Answer

4 votes

Answer:

The average number of comparisons made by this algorithm turns out to be about log2 n − 1 and log2(n + 1) for successful and unsuccessful searches, respectively.

Step-by-step explanation:

hi

answered
User Knikolov
by
8.1k points

No related questions found