首页 › 答案 › 题库 › 其它知识竞赛

在长度为n的顺序表的表尾插入一个新元素的时间复杂度为()。

在长度为n的顺序表的表尾插入一个新元素的时间复杂度为()。
A.O(n)
B.O(1)
C.O(n*n)
D.O(logn)
正确答案:A