1.

What Is The Time Complexity Of Optimal Merge Algorithm (on Pram)?

Answer»

O(log log N) by FIRST merging sub-sequences of the original lists of SIZE n/(log log n) each. The remaining elements are inserted into the just computed SEQUENCE in the next step.

O(log log n) by first merging sub-sequences of the original lists of size n/(log log n) each. The remaining elements are inserted into the just computed sequence in the next step.



Discussion

No Comment Found