freeCodeCamp/guide/english/algorithms/sorting-algorithms
Ronit Ray 0213ee1a13 Rectifying Bubble Sort logic, introducing modification, removing code inconsistency (#30274)
* Update to index.md + code fix

Before this commit, the js and c++ versions of the code had the O(n) modification with the flag but the Java, Python, Swift ones did not. Also, Bubble sort is originally O(n^2) for all cases and the flag is a modification to it, as far as I know. I updated the code to reflect the same in the first section, and added a new section explaining the modification with examples in 3 languages. Hope this is alright.

* fix: corrected code block syntax
2019-06-27 14:39:47 -07:00
..
bubble-sort Rectifying Bubble Sort logic, introducing modification, removing code inconsistency (#30274) 2019-06-27 14:39:47 -07:00
bucket-sort Minor grammatical corrections. (#31232) 2019-01-14 19:29:33 -06:00
counting-sort Added Swift Implementation of Counting Sort (#35719) 2019-05-06 06:48:11 -05:00
heap-sort fix: replace c++ with cpp for language postfix 2019-06-25 16:57:43 +08:00
insertion-sort fix(guide) Replace invalid prism code block names (#35961) 2019-05-15 19:08:19 +02:00
merge-sort Added MergeSort Implementation in Java (#28042) 2019-06-25 10:53:35 -07:00
quick-sort Update index.md (#32810) 2019-05-22 18:14:04 -05:00
radix-sort Added an implementation code in python (#33305) 2019-06-25 13:42:43 -07:00
selection-sort fix(guide): Fix C++ selection sort algo (#35546) 2019-04-23 09:48:42 -07:00
timsort fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
index.md SortingAlgorithms index.md (#29019) 2019-01-14 19:41:03 -06:00