122 Commits

Author SHA1 Message Date
faed847317 Updated the count sort algorithm with stable implementation. Added ES6 syntactic sugar to the syntax. Removed the unwanted len variable and updated the comments 2021-08-08 17:21:05 +05:30
6232f8dd42 Updated the count sort algorithm with stable implementation. Added ES6 syntactic sugar to the syntax 2021-08-08 17:14:41 +05:30
c55ca93584 Updated the count sort algorithm with stable implementation. Added ES6 syntactic sugar to the syntax 2021-08-08 16:42:13 +05:30
376f60ddc6 Added the correct and stable version of count sort. Changed function declaration to ES6 style. 2021-08-06 22:54:48 +05:30
a36fbf988f chore: Fix style problems 2021-06-17 11:07:50 +05:30
37726ff223 Fixed the missing arguments in the function call 2021-05-30 19:08:52 +05:30
3dd10dbe61 Revert "Added Sleep Sort" 2021-05-23 21:09:46 +05:30
8b7b48550a Merge pull request #109 from saurabhbazzad/patch-1
Added Sleep Sort
2021-05-23 15:16:49 +05:30
931f0e54f2 Merge pull request #243 from MustafaSalih1993/master
OddEvenSort Added
2021-05-23 15:05:19 +05:30
51f80fe2b0 fix: Fix MergeSort conflict 2021-05-22 21:02:14 +05:30
c62d169c21 style(IntroSort.js): let to const 2021-05-21 11:57:24 +05:30
8b7c5fdc57 style(InsertionSort.js): Changed var to let (scope taken into account) 2021-05-21 11:52:37 +05:30
ca4c1a62af style: Fixed most styles (according to standardjs) 2021-05-21 11:16:11 +05:30
d43de686c5 Add FindSecondLargestSort (#523)
* Add FindSecondLargestSort

* Add FindSecondLargestSort

* Add FindSecondLargestSort

* Add FindSecondLargestSort

* Add FindSecondLargestSort

* Add FindSecondLargestSort

* Update and rename FindSecondLargestSort.js to FindSecondLargestElement.js

* Update FindSecondLargestElement.js

* Update FindSecondLargestElement.js

Co-authored-by: MacBookPro <macbookpro@MacBookPros-MBP.attlocal.net>
Co-authored-by: vinayak <itssvinayak@gmail.com>
2021-04-03 19:59:58 +05:30
c10cb8c839 Standard fixes | Flash Sort 2021-02-01 21:02:15 +05:30
32cc94ee18 Changed implementation presentation | Flash Sort 2021-02-01 21:01:00 +05:30
72e173c2d4 Improved main description comment | Flash Sort 2021-02-01 20:59:59 +05:30
9decf7bc7f Standard fixes | Cycle Sort 2021-01-25 23:52:47 +05:30
1626a58b35 Improved presentation of Implementation | Cycle Sort 2021-01-25 23:51:55 +05:30
d866534031 Added Wikipedia link | Cycle Sort 2021-01-25 23:51:09 +05:30
9515badb75 Improved main Description comment | Cycle Sort 2021-01-25 23:50:46 +05:30
6c916966d6 Standard formatting fixes | Counting Sort 2021-01-24 23:34:56 +05:30
e0260015cb Improved Implementation presentation | Counting Sort 2021-01-24 23:34:22 +05:30
e6e6648eaf Improved main description comment | Counting Sort 2021-01-24 23:33:15 +05:30
028c16999c Replaced use of var with const | Bogo Sort 2021-01-24 23:31:18 +05:30
b61d6020a1 Replaced use of var with const | Bubble Sort 2021-01-24 23:30:20 +05:30
bf3d37a974 Added animated visual link | Bubble Sort 2021-01-24 23:29:50 +05:30
ddbebe483d Standard Fixes | CombSort 2021-01-23 22:28:41 +05:30
cf0be7e3e4 Improved Implementation Presentation | CombSort 2021-01-23 22:27:19 +05:30
1c497661fd Added Wikipedia link | CombSort 2021-01-23 22:25:43 +05:30
db246025a3 Formatted main Comment | CombSort 2021-01-23 22:25:06 +05:30
2acff23fdd improved comments and algo description 2020-12-30 11:01:24 +05:30
a3e6c4c69e formatted implementation 2020-12-25 23:57:21 +05:30
c67a570c45 improved doctests presentation 2020-12-22 23:58:40 +05:30
339e2102f9 Merge pull request #547 from criskolonas/master
Added pigeonhole sorting
2020-12-19 22:02:13 +05:30
2f5504ed64 more changes 2020-11-25 21:41:30 +02:00
7aa0a66ea5 changes 2020-11-25 21:36:55 +02:00
8c928ad565 added PigeonHoleSort algorithm 2020-11-25 21:31:27 +02:00
9b8bd417d4 added PigeonHoleSort algorithm 2020-11-25 21:25:36 +02:00
4a040c38ac added PigeonHoleSort algorithm 2020-11-25 21:18:10 +02:00
d4ede60e3c added PigeonHoleSort algorithm 2020-11-25 21:13:41 +02:00
38760ff5c4 added PigeonHoleSort algorithm 2020-11-25 21:10:50 +02:00
d44ffef467 Cocktail Shaker Sort | Fixed 'standard' warnings and errors 2020-11-02 15:32:45 +05:30
8d1278b455 Cocktail Shaker Sort | Added Doctests 2020-11-02 15:26:47 +05:30
aab8a555fc Cocktail Shaker Sort | Improved Implementation 2020-11-02 15:26:21 +05:30
ac488fe626 Cocktail Shaker Sort | Code wasn't returning sorted Items. Changed that. 2020-11-02 15:25:59 +05:30
3a7da23b02 Cocktail Shaker Sort | Improved Comments 2020-11-02 15:25:09 +05:30
5dbb739fd0 Cocktail Shaker Sort | Formatted Wikipedia Link 2020-11-02 15:24:09 +05:30
aad3c4d151 Cocktail Shaker Sort | Improved Description Comment 2020-11-02 15:23:39 +05:30
6c2f83b752 Add doctest for QuickSort and MergeSort (#502)
* Add doctest for QuickSort

* Add doctest for MergeSort

Co-authored-by: Sukhpreet Sekhon <ssekhon@atb.com>
2020-10-24 21:03:55 +05:30