【单选题】【消耗次数:1】
不能用来衡量一个算法的优劣的指标是( )。
实现复杂度
空间复杂度
时间复杂度
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【判断题】 算法的时间复杂度与与数据结构有关。
①  正确
②  错误
【单选题】 下列时间复杂度中最坏的是( )。
①  O(1)
②  O(n)
③  O(log2n)
④  O(n2)
【判断题】 希尔排序算法的时间复杂度为O(n2)。()
①  正确
②  错误
【单选题】 软件的程序复杂度应满足
①  越高越好
②  越低越好
③  适中最好
④  以上都不对
【单选题】 下列算法的时间复杂度是for(i=0;ii++)c[i]=i;
①  O(1)
②  O(n)
③  O(log2n)
④  O(nlog2n)
【单选题】 下列四种排序中()的空间复杂度最大。
①  插入排序
②  冒泡排序
③  堆排序
④  归并排序
【单选题】 下列各种排序算法中平均时间复杂度为O(n2)是()。
①  快速排序
②  堆排序
③  归并排序
④  冒泡排序
【单选题】 建立一个长度为n的有序单链表的时间复杂度为()
①  O(n)
②  O(1)
③  O(n2)
④  O(log2n)
【单选题】 二路归并排序的时间复杂度为()。
①  O(n)
②  O(n2)
③  O(nlog2n)
④  O(1og2n)
【单选题】 在n个结点的顺序表中,算法的时间复杂度是O(1)的操作是
①  访问第i个结点(1≤i≤n)
②  在第i个结点后插入一个新结点(1≤i≤n)
③  删除第i个结点(1≤i≤n)
④  将n个结点从小到大排序
【单选题】 对具有n个元素的有序表采用折半查找,则算法的时间复杂度为( )。
①  O(n)
②  O(n的平方)
③  O(1)
④  O(log2(n))
随机题目
【单选题】 —Could I borrow your dictionary? —I’d get it for you ____I could remember who last borrowed it.
①  except that
②  unless
③  only if
④  if only
【单选题】 No one thought that John’s suggestion was worth ____.?
①  ?to consider ?
②  considering ?
③  to be considered ?
④  of consideration?
【单选题】 We must ____ that our customs and habits are different from theirs.
①  keep up with
②  bring forward
③  keep in mind
④  come true
【单选题】 20. Only when he had handed in his exam paper ____ he had made several mistakes.
①  he has realized
②  does he realize
③  has he realized
④  did he realize
【单选题】 People’s hearts ____ the children whose parents died in the accident.
①  went out for
②  went out with
③  went out to
④  went out of
【单选题】 A sudden idea ____ to him that he might try the new method.
①  occurred
②  happened
③  took place
④  took part
【单选题】 We often get ____ when people cut in line.
①  annoying
②  annoyed
③  to annoy
④  annoy
【单选题】 “Can I help you?” “Well, I’m afraid the box is too heavy for you, ____ thank you all the same.”
①  and
②  so
③  but
④  or
【单选题】 A guest arrived ____ I was doing my housework.
①  during
②  although
③  as though
④  while
【单选题】 —OK, $ 500, but that is my last offer. —____.?
①  Good idea! ?
②  What did you say??
③  Oh, its up to you. ?
④  OK. Its a deal.?