Category : Logic

Home » Archive by category : Logic

Minimum number of comparisons required will be n + log(n) -2 = 32 + 5 -2 = 35How?We can think of this as a tournament where 32 teams are competing against each other, to get the best team out of n teams we need (n-1) comparisons, by taking two teams at a time and then ..

Read more