• Using this notation, you should know that search through a list is O(n) and binary search (through a sorted list) is log(n).

    看到这个标记就应该知道搜索链表复杂度为O(n),进行二进制搜索时(已排序)的空间复杂度为log(n)。

    youdao

  • If you access elements by index, a linked list is not a good solution: you have to traverse the list from the beginning, so it is an o (n) operation.

    如果访问元素索引是不是一个办法:你必须列表开始所以O (n)的操作

    youdao

  • If you access elements by index, a linked list is not a good solution: you have to traverse the list from the beginning, so it is an o (n) operation.

    如果访问元素索引是不是一个办法:你必须列表开始所以O (n)的操作

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定