Merge branch 'master' into improve-bubble-sort

This commit is contained in:
Oleksii Trekhleb 2018-05-24 09:19:03 +03:00 committed by GitHub
commit f34fd84a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ Each algorithm and data structure have its own separate README
with related explanations and links for further reading and YouTube with related explanations and links for further reading and YouTube
videos. videos.
Read this in other languages: [Chinese](https://github.com/trekhleb/javascript-algorithms/blob/master/README.zh-CN.md) _Read this in other languages:_ [简体中文](https://github.com/trekhleb/javascript-algorithms/blob/master/README.zh-CN.md)
## Data Structures ## Data Structures

View File

@ -180,7 +180,7 @@ npm test -- -t 'playground'
| **O(1)** | 1 | 1 | 1 | | **O(1)** | 1 | 1 | 1 |
| **O(log N)** | 3 | 6 | 9 | | **O(log N)** | 3 | 6 | 9 |
| **O(N)** | 10 | 100 | 1000 | | **O(N)** | 10 | 100 | 1000 |
| **O(N log N)** | 30 | 60 | 9000 | | **O(N log N)** | 30 | 600 | 9000 |
| **O(N^2)** | 100 | 10000 | 1000000 | | **O(N^2)** | 100 | 10000 | 1000000 |
| **O(2^N)** | 1024 | 1.26e+29 | 1.07e+301 | | **O(2^N)** | 1024 | 1.26e+29 | 1.07e+301 |
| **O(N!)** | 3628800 | 9.3e+157 | 4.02e+2567 | | **O(N!)** | 3628800 | 9.3e+157 | 4.02e+2567 |