题目
题目
单项选择题

MS_1 Below is the Merge Sort discussed in lectures. What is the time complexity of the provided merge sort algorithm in the average case?   

选项
A.O(n2)
B.O(logn)
C.O(n)
D.O(nlog n)
查看解析

查看解析

标准答案
Please login to view
思路分析
First, restating the context: the question asks for the average-case time complexity of the provided merge sort algorithm. Option 1: O(n^2). This would imply quadratic growth, which is characteristic of inefficient algorithms like simple bubble sort in the worst case, not merge sort. Merge......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!