-->
当前位置:首页 > 题库 > 正文内容

Multiple choice:(neuds) the time complexity of the algorithm for inserting a new node into an ordered single linked list with n nodes to keep the single linked list in order is ().

Luz4年前 (2021-05-10)题库348
(neuds) the time complexity of the algorithm for inserting a new node into an ordered single linked list with n nodes to keep the single linked list in order is ()@[ C](2)
A. O(1)
B. $$O(log_{ 2} n)$$
C. O(n)
D. $$O(n^{2})$$




A.O(1)
B.$$O(log_{ 2} n)$$
C.O(n)
D.$$O(n^{2})$$


answer:C

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。