Merge pull request #8 from breinhart/master

Fixed Typo in Big O Complexity table
This commit is contained in:
Oleksii Trekhleb 2018-05-24 08:36:33 +03:00 committed by GitHub
commit 9a02687ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ Below is the list of some of the most used Big O notations and their performance
| **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 |