Skip to content

Commit 09c356a

Browse files
committed
fix: modify readme 🐛
1 parent a677dd1 commit 09c356a

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

README-EN.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ In this case, you know how fast these algorithms are
7777

7878
- The running time of the algorithm increases at different speeds
7979
- For example, the difference between a simple find and a binary search
80-
element|Easy to find|Binary search
81-
---|---|---
82-
100|100ms|7ms
83-
10000|10s|14ms
84-
1 000 000 000 |11day|30ms
80+
81+
element|Easy to find|Binary search
82+
---|---|---
83+
100|100ms|7ms
84+
10000|10s|14ms
85+
1 000 000 000 |11day|30ms
86+
8587
- ` O ` said hair is pointed out that how fast algorithms, such as list contains ` n ` element, a simple search need to check each element, so you need to perform ` n ` time operations
8688
Using large ` O ` said ` O (n) to make this operation `, binary search need to perform log<sub>n</sub> using large ` O ` said to`O(log n)`
8789
- Some common big O runtime

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ left|right
7777

7878
- 算法的运行时间以不同的速度增加
7979
- 例如简单查找与二分查找的区别
80-
元素|简单查找|二分查找
81-
---|---|---
82-
100个元素|100ms|7ms
83-
10000个元素|10s|14ms
84-
1 000 000 000 个元素|11天|30ms
80+
81+
元素|简单查找|二分查找
82+
---|---|---
83+
100个元素|100ms|7ms
84+
10000个元素|10s|14ms
85+
1 000 000 000 个元素|11天|30ms
86+
8587
-`O`表示发指出了算法有多快,例如列表包含`n`个元素,简单查找需要检查每个元素,因此需要执行`n`次操作
8688
使用大`O`表示发这个运行时间为`O(n)`,二分查找需要执行log<sub>n</sub>次操作,使用大`O`表示为`O(log n)`
8789
- 一些常见的大O运行时间

0 commit comments

Comments
 (0)