首页
普通专升本
成人高考
学位英语
在线刷题
最近学习
最近学习课程
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
您现在位置:
模拟考场
>
湖北自学考试
>
专业课
>
数据结构
>
浏览试题
[单选题]
在一个长度为n的顺序表中插入一个元素的算法的时间复杂度为( )
A
O(1)
B
O(log n)
C
O(n)
D
O(n2)
收藏
查看答案
参考答案
试题答案:
C
答案解释:
相关题目
阅读下列算法,并回答问题:
线性表若采用链式存储结构时,要求内存中可用存储单元的地址()。
递归实现或函数调用时,处理参数及返回地址,应采用的数据结构是( )
在线性表中,表的长度定义为______。
假设一个10阶的上三角矩阵A按行优先顺序压缩存储在一维数组B中,若矩阵中的第一个元素a11在B中的存储位置k=0,则元素a55在B中的存储位置k=__________。
在一棵二叉树中,度为2的结点数为15,度为1的结点数为3,则叶子结点数为( )
在排序过程中,如果_____________,则称其为外部排序。
假设具有n个结点的完全二叉树顺序存储在向量BT中,阅读下列算法,并回答问题:
在一棵深度为h的具有n个结点的二叉排序树中,查找任一结点的最多比较次数是______________。
顺序表类型定义如下:
热门试题
1.
20世纪20年代诞生的第一种人力资源管理模式是
2.
Toronto's third City Hall,now known as Old City Hall,was designed by Edward James Len-nox and declared open on Sept.18,1899. Created to provide more space for city officials,it turned out to be the largest building in the city and the largest city building in North America at the time. Lennox took three years to design the City Hall and it took 11 years to build it.Contemporaries believe that the odd carvings(雕刻)above the Queen Street entrance were actually caricatures(漫画)of councilors at the time. Lennox even included himself in the caricatures,on the west side of the central arch(拱门),and left a strange signature in the stonework of the link portions of the building. The third City Hall was originally used as councilors'offices and legal offices,but it is used only as a courthouse today. When the fourth City Hall(the one we know today)was declared open in 1965,Old City Hall was threatened to be pulled down.It was saved by a group of people called the"Friends of Old City Hall." The clock tower stands parallel with the middle of Bay Street,rather than with the center of the building.The bells in the tower were not installed until the building opened.Old City Hall was declared a historical site in 1989. (80)The entire structure cost more than .5 million to build at the time.This is equal to$53 million today.
3.
提出“精兵简政”政策的是( )
4.
17.信息系统战略性规划方法中,不包括
5.
质点做半径为R的圆周运动,它的速率为v,角速度为ω,法向加速度大小为at,切向加速度大小为an/sub>,下列表达式中正确的是
热门试卷
成人高考专升本《政治》模拟试卷
去做题
已有3418做题
2020年湖北成人高考专升本政治模拟试题三
去做题
已有2214做题
成人高考专升本政治考试模拟试题及答案(1)
去做题
已有1901做题
湖北成考专升本政治真题(2021年)
去做题
已有1366做题
湖北成考高起点语文真题(2021年)
去做题
已有1233做题