chapter_searching/searching_algorithm_revisited/ #65
Replies: 9 comments 12 replies
-
发现实际工作中,用的都是线性查找哈哈哈,数据量不大,逻辑简单不会有bug |
Beta Was this translation helpful? Give feedback.
-
本章可以添加介绍AVL树和红黑树吗🥺 |
Beta Was this translation helpful? Give feedback.
-
这种总结分类对比分析特点看着就很舒服 |
Beta Was this translation helpful? Give feedback.
-
线性搜索插入操作的时间复杂度为什么是O(1),不是O(n)吗? |
Beta Was this translation helpful? Give feedback.
-
请问这句话里面为什么二分查找的最差时间复杂度是O(logN) 而不是O(N) (因为删除或添加操作都是O(N))? 这里的复杂度是只指的是查找嘛?谢谢! |
Beta Was this translation helpful? Give feedback.
-
”自适应搜索算法常被称为查找算法,主要关注在特定数据结构中快速检索目标元素。“ |
Beta Was this translation helpful? Give feedback.
-
大神,希望可以把B树和B+树也能加到搜索算法中。 |
Beta Was this translation helpful? Give feedback.
-
二分查找中,插入元素和删除元素的时间复杂度应该是O(log n) ,而不是O(n) 吧? |
Beta Was this translation helpful? Give feedback.
-
chapter_searching/searching_algorithm_revisited/
一本动画图解、能运行、可提问的数据结构与算法入门书
https://www.hello-algo.com/chapter_searching/searching_algorithm_revisited/
Beta Was this translation helpful? Give feedback.
All reactions