SOLUTION: Let min and max be the smallest and largest numbers among a large set of n distinct numbers arranged uniformly at random. Suppose we run quicksort on those n numbers. A. The two n

Algebra ->  Probability-and-statistics -> SOLUTION: Let min and max be the smallest and largest numbers among a large set of n distinct numbers arranged uniformly at random. Suppose we run quicksort on those n numbers. A. The two n      Log On


   



Question 1042554: Let min and max be the smallest and largest numbers among a large set of n distinct numbers arranged uniformly at random. Suppose we run quicksort on those n numbers.
A. The two numbers min and max will be compared with probability close to 1.
B. The two numbers min and max will be compared with probability equal to 1/2.
C. The two numbers min and max will be compared with probability close to 0.
D. The two numbers will never be compared.

Answer by ikleyn(52752) About Me  (Show Source):
You can put this solution on YOUR website!
.
I read your post and didn't find a question.

For what reason did you post it?