mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-25 22:46:20 +08:00
Add big O info.
This commit is contained in:
parent
8319355f1c
commit
74cd611225
Binary file not shown.
Before Width: | Height: | Size: 90 KiB |
BIN
assets/big-O-graph.png
Normal file
BIN
assets/big-O-graph.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
@ -8,7 +8,11 @@
|
||||
|
||||
## Big O Notation
|
||||
|
||||
![Big O graphs](https://github.com/trekhleb/javascript-algorithms/blob/master/assets/big-O-graph.jpeg)
|
||||
Order of growth of algorithms specified in Big-O notation. Source: [Big-O Cheat Sheet](http://bigocheatsheet.com/).
|
||||
|
||||
![Big O graphs](https://github.com/trekhleb/javascript-algorithms/blob/master/assets/big-O-graph.png)
|
||||
|
||||
Below is the list of some of the most used Big O notations and their performance comparisons against different sizes of the input data.
|
||||
|
||||
| Big O Notation | Computations for 10 elements | Computations for 100 elements | Computations for 10 elements |
|
||||
| -------------- | ---------------------------- | ----------------------------- | ----------------------------- |
|
||||
|
Loading…
Reference in New Issue
Block a user