From 8319355f1cb0d21ea3511a5f3beaecff801ad393 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Fri, 30 Mar 2018 08:38:00 +0300 Subject: [PATCH] Add big O info. --- src/algorithms/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/algorithms/README.md b/src/algorithms/README.md index 31bf8a1e..94d684cc 100644 --- a/src/algorithms/README.md +++ b/src/algorithms/README.md @@ -12,10 +12,10 @@ | 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 | +| **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 |