wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A list of n strings, each of length n, is sorted into lexicographic order using the merge sort algorithm. The worst case running time of this computation is

A
0(n log n)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
0(n2 + log n)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
0(n2)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
0(n2 log n)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Join BYJU'S Learning Program
CrossIcon