For example, suppose there are 32 numbers (not sorted, unknown ranges) and 8 processors, each of which calculates one comparison per minute.
If there is only one processor, then there should be 31 comparisons. But with 8 processors we can compare 16 numbers per minute.
What is the minimum amount of time (in minutes) required to calculate the maximum number? (I worked for about 6 minutes, but I think it can be done in 5, I donβt know how the algorithm works.)
source share