Skip to content

Commit 74cd611

Browse files
committed
Add big O info.
1 parent 8319355 commit 74cd611

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎assets/big-O-graph.jpeg‎

-90.5 KB
Binary file not shown.

‎assets/big-O-graph.png‎

89.1 KB
Loading

‎src/algorithms/README.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88

99
## Big O Notation
1010

11-
![Big O graphs](https://github.com/trekhleb/javascript-algorithms/blob/master/assets/big-O-graph.jpeg)
11+
Order of growth of algorithms specified in Big-O notation. Source: [Big-O Cheat Sheet](http://bigocheatsheet.com/).
12+
13+
![Big O graphs](https://github.com/trekhleb/javascript-algorithms/blob/master/assets/big-O-graph.png)
14+
15+
Below is the list of some of the most used Big O notations and their performance comparisons against different sizes of the input data.
1216

1317
| Big O Notation | Computations for 10 elements | Computations for 100 elements | Computations for 10 elements |
1418
| -------------- | ---------------------------- | ----------------------------- | ----------------------------- |

0 commit comments

Comments
 (0)