From d98c52cba830b3a4f17e964279a400e9e4b5f6a4 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Wed, 4 Apr 2018 08:08:09 +0300 Subject: [PATCH] Fix README. --- src/algorithms/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/algorithms/README.md b/src/algorithms/README.md index 5571428c..a64424af 100644 --- a/src/algorithms/README.md +++ b/src/algorithms/README.md @@ -16,12 +16,12 @@ Source: [Big O Cheat Sheet](http://bigocheatsheet.com/). 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 | -| -------------- | ---------------------------- | ----------------------------- | ----------------------------- | -| **O(1)** | 1 | 1 | 1 | -| **O(log N)** | 3 | 6 | 9 | -| **O(N)** | 10 | 100 | 1000 | -| **O(N log N)** | 30 | 60 | 9000 | -| **O(N^2)** | 100 | 10000 | 1000000 | -| **O(2^N)** | 1024 | 1.26e+29 | 1.07e+301 | -| **O(N!)** | 3628800 | 9.3e+157 | 4.02e+2567 | +| Big O Notation | Computations for 10 elements | Computations for 100 elements | Computations for 1000 elements | +| -------------- | ---------------------------- | ----------------------------- | ------------------------------- | +| **O(1)** | 1 | 1 | 1 | +| **O(log N)** | 3 | 6 | 9 | +| **O(N)** | 10 | 100 | 1000 | +| **O(N log N)** | 30 | 60 | 9000 | +| **O(N^2)** | 100 | 10000 | 1000000 | +| **O(2^N)** | 1024 | 1.26e+29 | 1.07e+301 | +| **O(N!)** | 3628800 | 9.3e+157 | 4.02e+2567 |