题目内容

用直接插人排序方法对下面四个序列进行排序(由小到大),元素比较次数最少的是( )。

A. 94,32、40、90、80、46、21、69
B. 32,40、21、46、69、94、90、80
C. 21、32、46、40、80、69、90、94
D. 90、69、80、46、21、32、94、40

查看答案
更多问题

【例2】直接插人排序的最坏情况是初始序列为( )序;shell排序的最坏情况是初始序列为( )序;直接插入排序的最好情况是初始序列为( )序;快速排序的最坏情况是初始序列为()序时,其时间复杂度为O(n2)。A.正B.反 C.正和反 D.无

Replace the underlinedphrase in each sentence with a collocation you have learned from the texts. You're provided with a related word for each particular collocation in brackets.He may meet in private with his lawyer, but access to his family is extremely difficult____; He can see them for no more than one hour a month. (restrict)

Replace the underlined phrase in each sentence with a collocation you have learned from the texts. You're provided with a related word for each particular collocation in brackets.Testing on humans without being aware of the horrifying end results _would be more inhumane than testing on animals. (effect)

Replace the underlined phrase in each sentence with a collocation you have learned from the texts. You're provided with a related word for each particular collocation in brackets.Medical scientists advocate performing tests on animals to make succeeding developments____in life-saving medicines for human beings.(subsequent)

答案查题题库