This website requires JavaScript.
Explore
Help
Register
Sign In
Algorithms
/
algo
Watch
1
Star
0
Fork
0
You've already forked algo
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
3e7b14e83e
algo
/
notes
/
14_sorts
History
Liam Huang
d01c14fb20
[notes][14_sorts] done.
2018-10-26 16:18:44 +08:00
..
.gitkeep
[notes][14_sorts] init.
2018-10-24 16:17:50 +08:00
readme.md
[notes][14_sorts] done.
2018-10-26 16:18:44 +08:00
readme.md
排序优化
如何取舍排序算法?
排序规模小 ——
O(n^2)
的算法(通常是插排)
排序规模大 ——
O(n\log n)
的算法(通常不用归并排序)
如何优化快速排序?
参考:
谈谈内省式排序算法