diff --git a/assets/big-O-graph.jpeg b/assets/big-O-graph.jpeg deleted file mode 100644 index 8f49c53c..00000000 Binary files a/assets/big-O-graph.jpeg and /dev/null differ diff --git a/assets/big-O-graph.png b/assets/big-O-graph.png new file mode 100644 index 00000000..509eaf1e Binary files /dev/null and b/assets/big-O-graph.png differ diff --git a/src/algorithms/README.md b/src/algorithms/README.md index 94d684cc..2c25233a 100644 --- a/src/algorithms/README.md +++ b/src/algorithms/README.md @@ -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 | | -------------- | ---------------------------- | ----------------------------- | ----------------------------- |