学堂在线数据结构(上)(2023春)邓俊辉 课后作业错题整理

  1. The reverse number of a sequence is defined as the total number of reversed pairs in the sequence, and the total number of element comparisons performed by the insertion sort in the list of size n is:

一个序列的逆序数定义为该序列中的逆序对总数,规模为n的列表中插入排序进行的元素比较总次数为:

答案:1B

  1. For ordered subsequences (set their length to k) during insertion sorting.
    对于插入排序过程中的已排序子序列(设其长度为k):

答案:2C

相关推荐
雨落在了我的手上2 小时前
Java数据结构(六):链表的介绍
java·开发语言·数据结构
Angle.寻梦3 小时前
数据结构--栈与队列
数据结构
热爱前端的小张3 小时前
第六章 图
数据结构
hold?fish:palm4 小时前
11 滑动窗口最大值
数据结构·算法
xvhao20134 小时前
T750414 【游戏】计算24点 题解
数据结构·c++·算法·游戏
自然常数e5 小时前
顺序表专题
c语言·数据结构·visual studio
小七在进步6 小时前
数据结构:树的遍历
数据结构
j7~6 小时前
【数据结构初阶】队列的实现(链式队列 + 循环队列)--详解
c语言·开发语言·数据结构·学习·队列·queue·c\c++
king_linlin6 小时前
算法基础——算法复杂度
c语言·开发语言·数据结构·算法
AndyHeee7 小时前
Linux 内核底层机制:设备树(Device Tree)的数据结构与内存组织
linux·前端·数据结构