学堂在线数据结构(上)(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

相关推荐
XW96325815 小时前
除湿机行业组织能力与人才地图报告
大数据·服务器·网络·数据结构·数据库·人工智能
风落青芜18 小时前
排序算法(四):归并排序、计数排序与算法总结
c语言·开发语言·数据结构·算法·排序算法
老师我太想进步了20261 天前
【数据结构-15】实现链式结构二叉树
c语言·数据结构
xiangxueCode1 天前
数据结构:容器适配器之优先级队列
数据结构·优先级队列
鱼很腾apoc1 天前
【Redis】第2期 详解Redis五大数据结构:命令+C++实现、渐进式遍历与数据库管理
linux·服务器·c语言·数据结构·c++·redis·学习
让我们一起加油好吗2 天前
【数据结构】线段树详解
数据结构·c++·算法·线段树·洛谷
路灯中转站2 天前
数据结构C语言版(什么是数据类型)
数据结构
凌冰_2 天前
数据结构 - 队列(五)
数据结构·算法·软件工程
让我们一起加油好吗2 天前
【数据结构】ST 表
数据结构·c++·算法·动态规划·洛谷·st表
让我们一起加油好吗2 天前
【算法刷题】LeetCode 力扣 Hot 100 刷题记录
数据结构·c++·算法·leetcode·面试·笔试