Commit Graph
31 Commits
Author SHA1 Message Date
Oleksii Trekhleb 625217a9c2 Code style fixes. 2018-05-29 11:19:08 +03:00
Oleksii Trekhleb caec97e562 Add Radix Sort illustration. 2018-05-29 09:43:23 +03:00
Oleksii Trekhleb afd5617144 Code style fixes for RadixSort. 2018-05-29 09:01:16 +03:00
Robert Taussig 71985337b5 Radix sort (#28)
* Add in-place sort to QuickSort.js

* Fix linting errors and clean up comments

* Change implementation to address lint errors

* Trailing space and undefined variable

* Create own class for in-place quicksort and use tests

* Add trailing space at end of file

* Fix placement of visitedCallback, explain itial destructuring

* Implement Radix Sort

Remove excess line

Reorganize RadixSort of match structure of other classes

Write tests for RadixSort and additional test constants

Create README

Update main readme to include radix sort
2018-05-29 07:38:19 +02:00
Oleksii Trekhleb 0c1f6851d5 Add counting sort. 2018-05-29 07:29:28 +03:00
Oleksii Trekhleb 30ae3230d1 Do some code formatting on QuickSort algorithm. 2018-05-27 22:23:40 +02:00
Robert Taussig bf5d7b338c Add in-place sort to QuickSort.js (#16)
* Add in-place sort to QuickSort.js

* Fix linting errors and clean up comments

* Change implementation to address lint errors

* Trailing space and undefined variable

* Create own class for in-place quicksort and use tests

* Add trailing space at end of file

* Fix placement of visitedCallback, explain itial destructuring
2018-05-27 23:11:13 +03:00
Albert Still 5638e66166 Merge branch 'master' into improve-bubble-sort 2018-05-24 16:09:42 +10:00
Albert Still d0ed0af42b stop bubble sort revisiting already sorted elements 2018-05-24 16:04:59 +10:00
Oleksii Trekhleb 297875e4fa Merge branch 'master' into master 2018-05-24 09:04:50 +03:00
Oleksii Trekhleb d596e1d485 Fix then > than typo. 2018-05-24 09:01:50 +03:00
Peter Shershov f2aebe7ccb improve readability in some sorting algorithms 2018-05-23 23:57:32 +03:00
Peter Shershov 488b7a4c0e small refactor in bubble sort for better readablity 2018-05-23 23:37:14 +03:00
Oleksii Trekhleb f966ef5d5d Update READMEs. 2018-05-21 21:48:35 +03:00
Oleksii Trekhleb c7110be47e Add quick sort. 2018-04-15 08:42:01 +03:00
Oleksii Trekhleb c8becaf299 Add quick sort. 2018-04-15 06:30:45 +03:00
Oleksii Trekhleb f29bcabffb Add merge sort. 2018-04-14 22:39:37 +03:00
Oleksii Trekhleb 21ce9719d9 Add merge sort. 2018-04-14 12:09:25 +03:00
Oleksii Trekhleb ed2abde623 Add merge sort. 2018-04-14 11:48:33 +03:00
Oleksii Trekhleb b17ba61348 Add heap sort. 2018-04-14 10:33:03 +03:00
Oleksii Trekhleb 36bbfed6a1 Add heap sort. 2018-04-14 10:29:36 +03:00
Oleksii Trekhleb f3aa4a1264 Update READMEs. 2018-04-13 16:57:29 +03:00
Oleksii Trekhleb b0247a5baa Add insertion sort. 2018-04-13 07:49:47 +03:00
Oleksii Trekhleb 37bbc53bf3 Add selection sort. 2018-04-13 07:16:55 +03:00
Oleksii Trekhleb d12188980d Add selection sort. 2018-04-13 07:15:24 +03:00
Oleksii Trekhleb ee5b3eec35 Add selection sort. 2018-04-13 07:14:33 +03:00
Oleksii Trekhleb 1ff7684b4a Add selection sort. 2018-04-13 07:13:41 +03:00
Oleksii Trekhleb 642c152042 Add selection sort. 2018-04-13 07:11:21 +03:00
Oleksii Trekhleb 33963d8e08 Add BubbleSort. 2018-04-12 14:32:34 +03:00
Oleksii Trekhleb 5320bfc7ec Add BubbleSort. 2018-04-12 12:20:39 +03:00
Oleksii Trekhleb 0224afbc42 Add BubbleSort. 2018-04-12 11:53:26 +03:00