0

Given an array of $n$ elements with $k$ distinct elements, each appearing $n/k$ times, how can I show that the number of comparisons to the sort the array in the worst case is in $\Omega(n \log k)$?

lox
  • 1,669
  • 1
  • 10
  • 16
Rick
  • 1

0 Answers0