This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
viviman
/
golangs_learn2
forked from
go/golangs_learn
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
151
Commits
1
Branch
0
Tags
36 MiB
Tree:
fa602901d7
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'fa602901d7'
${ noResults }
golangs_learn2
/
golang_learn
/
data_paixu
/
09查找方式对比.md
9 lines
149 B
Raw
Normal View
History
提交go关于排序算法代码
3 years ago
# 二分查找与线性查找的比较
*
**二分查找**
*
复杂度O(log n)
*
前提必须进行排序
*
**线性查找**
*
复杂度O(n)