不挂科搜题免费

问题:

下列哪个算法的时间复杂度是O(nlogn)?

选项

  • 快速排序(Quick Sort)

  • 归并排序(Merge Sort)

  • 堆排序(Heap Sort)

  • 插入排序(Insertion Sort)

  • 答案:

    B