题目
题目
单项选择题

Which of the following inputs prove that Mergesort is not a stable sort (or choose the answer that indicates that Mergesort is a stable sort)?

选项
A.a. (none of the other answers, since Mergesort is a stable sort).
B.b. MERGEEXAMPLE
C.c. UNSTABLE
D.d. SHUFFLE
查看解析

查看解析

标准答案
Please login to view
思路分析
The question asks us to identify which inputs demonstrate that Mergesort is not a stable sort, or to choose the option that indicates Mergesort is stable. Option a: 'a. (none of the other answers, since Mergesort is a stable sort).' - This option asserts stability as a fact, rather than providing an input that proves stability. It effectively selects the stability claim, but it does not present an input scenario showing stability via equal keys and pr......Login to view full explanation

登录即可查看完整答案

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

更多留学生实用工具

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