一起答
单选

下列排序算法中,时间复杂度为O(nlog2n)且占用额外空间最少的是(18)。

  • A.堆排序
  • B.冒泡排序
  • C.快速排序
  • D.SHELL排序
参考答案
查看试卷详情
相关试题
  1. (52)

    • A.begin
    • B.resume
    • C.presume
    • D.take back
  2. (51)

    • A.waiting lock
    • B.block
    • C.deadlock
    • D.death
  3. (50)

    • A.timing
    • B.synchronization
    • C.contemporary
    • D.simultaneity
  4. Sometimes the processes in which people are engaged are dependent upon other processes being completed first, possibly by other people. For example, on an automobile(71), it is necessary  for the body to be constructed before the doors can be added on. Attempting to add the doors first would be pointless, because there would be nowhere to attach them. Thus, if there is no body ready to have doors added, the process for adding doors has to be(72)until the process for creating the next body is complete. This is known as(73)

    Obviously, there are many cases where people have to wait for other people to do something. However,  if everyone in such a situation is waiting for someone else to do something first, then no one will ever be able to do anything. When discussing processes, this situation is known as(74), because all of the involved processes are effectively dead because of locks they have on resources. Usually someone in such a situation will eventually notice and abort the process, allowing normal flow to(75), and often warning signs can even be spotted ahead of time to avoid 'it in the first place.

    • A.water thread
    • B.assembly thread
    • C.water line
    • D.assembly line
  5. (49)

    • A.suspended
    • B.broken
    • C.hung
    • D.hold
  6. (46)

    • A.drawing
    • B.mapping
    • C.picturing
    • D.scanning
  7. (47)

    • A.paging
    • B.paragraphing
    • C.storing
    • D.changing
  8. (44)

    • A.address space
    • B.address place
    • C.home space
    • D.home place
  9. (45)

    • A.former addresses
    • B.fake address
    • C.virtual addresses
    • D.mendacious addresses
  10. (42)

    • A.291ns
    • B.292ns
    • C.302ns
    • D.311ns