课后题 数据结构 队列 选择题
第 47 题

假设循环单链表表示的队列长度为 n, 队头固定在链表尾,若只设头指针,则入队操作 的时间复杂度为()。

A. O(n) B.O(1) C.O(n²) D.O(nlog₂n)

[tag_link]

正确答案:A