retagged by
415 views
2 votes
2 votes

I think the options given for this questions are incorrect, i thing answer would be nk log nk, please correct me if i'm wrong.

retagged by

1 Answer

1 votes
1 votes
  • Build a Min Heap in $O(K)$.
  • Heapify in $(NK-K) log K = O(NK logK)$ 
Answer:

Related questions

0 votes
0 votes
0 answers
4