From bb4a8638f1431e9832cfe149d7f32f31ebaa77ef Mon Sep 17 00:00:00 2001 From: Lokesh Jadhav Date: Mon, 19 Mar 2018 17:51:48 +0100 Subject: [PATCH] Typo in comment: Big O for selection sort (#61) --- 02_selection_sort/javascript/01_selection_sort.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_selection_sort/javascript/01_selection_sort.js b/02_selection_sort/javascript/01_selection_sort.js index 28ed1e9..5102a25 100644 --- a/02_selection_sort/javascript/01_selection_sort.js +++ b/02_selection_sort/javascript/01_selection_sort.js @@ -1,5 +1,5 @@ 'use strict'; -// Selection Sort - O(log n^2) +// Selection Sort - O(n^2) // Parameter: // 1. random array