-
1. Binary search
2. bubble sort
3. quick sort
4. selection sort
5. insertion sort
6. heap sort
7. Merge sort
-
# 关于双向BFS的思考
双向广度优先算法相对于广度优先算法来说,由于采用了从两个跟开始扩展的方式,搜索树的深度得到了明显的减少,所以在算法的时间复杂度和空间复杂度上都有较大的优势。双向广度优先算法特别适合于给出了起始节点和目的节点,要求他们之间的最短路径的问题(一个从起点扩展,一个从终点扩展)。另外需要说明的是,广度优先的顺序能够保证找到的路径就是最短路径!
具体模板代码可参考 [L…
-
近期忙于工作未来好好做题。周末静下心赶作业,觉得自己回到读书的时候----题外话
【第一周学后感想】
在学习过程中,听到最多的词是“刷题”和关于如何面试。学习算法出发点不同,目的也不同,学习方式应根据个人作出调整。对于个人而言,掌握了python基础,需要一个好的内功来打造自己,然而基础薄弱的我,跟其他同学根本不再一个起跑线上,这个是现实,要面对。学期指导只有两个月时间,而我的目标不是突…
-
System.Collections.Immutable currently has InternalsVisibleTo to its tests. This is something we try hard to avoid. We should remove the reliance on internals from the tests and switch the tests over …
-
Hi 🙂 I'm using virtual_modules for a simple library (only a global boolean) and when I build with ocaml 4.12 and --profile=release, I'm getting some warning 58 feedback "no cmx found, or not compiled …
-
The Web of Things framework needs to expose APIs for registering a new thing along with its model and implementation, and for registering a proxy for a thing identified by a URI for its model. Both AP…
-
I don't file many bug reports. I did my best to fill out the template and provide useful information. I have no fixes for the issue so far. Thank you.
There was a lot more dh_missing errors, howeve…
-
#### Version 8.8
#### Operating system: all
#### Description of the problem
Most uses of `**` in the docs seem wrong. Some examples:
```
./proof-engine/tactics.rst\01528: is **IH**.
Should…
-
So in game.c there is a nightmare switch statement which is used to parse arguments. This is ... horrifying and hard to maintain.
The goal of this ticket is to make a more dynamic system that is e…
-
今年年初做毕设那段时间, 曾涉及一些关于数据存储方面的技术, 着手实现时也发现了不少乐趣, 这里就梳理一下思路, 做个总结, 也尽量让人读完之后有个全面的了解, 感谢工业界和学术界产出的详实资料文献和笔录经验, 给我学习过程提供了莫大便利! 其中过于底层的技术的原理我可能没法做到了然于胸, 当然我会持续深入学习那些不甚了解/拿不准的东西, 不断完善知识技能树.
## 几个术语
来区分这两个专有名…