74 Commits

Author SHA1 Message Date
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
05d48b8ff9 Fix selection sort and add tests; fixes #414 (#418)
* Fix selection sort and add tests; fixes #414 
Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-10-05 23:33:52 +05:30
7e0aff1685 Added JSDoc documentation to some sorting functions and added TimoSort (#406)
* Added TimSort
Co-authored-by: Solot Paul <solotpaul@yahoo.ro>
Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-10-05 22:15:14 +05:30
a019404353 Added Introsort Implementation in JS. (#267)
* Feature: Added IntroSort in JS Closes #265

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-19 11:57:41 +05:30
412995ac09 Added Web-Programming (Open Weather Maps data fetch) (#196)
* Added Web-Programming (Open Weather Maps data fetch)

* update

Co-authored-by: itsvinayak <itssvinayak@gmail.com>
2020-06-21 22:08:29 +05:30
b2f6471b89 feat: adjust swap grammar (#175)
* feat: adjust swap grammar

* fix: grammar
2020-05-23 11:31:41 +05:30
050f56b190 Add doctest to BucketSort.js 2020-05-13 01:27:55 +02:00
f59062ae1a Ready for review 2020-05-13 00:50:23 +02:00
66391ca209 Ensure that build fail on bad test 2020-05-13 00:47:49 +02:00
02585f5d12 BogoSort.js: Simplify Array.isSorted() and add doctests
As discussed at https://github.com/TheAlgorithms/Javascript/issues/164#issuecomment-627437233

Also related to add doctests as discussed in #142
2020-05-12 22:21:36 +02:00
ce07a8ba33 Quick Select Search (#131)
* HeapSort algorithm

* Create QuickSelect.js

* Algorithm to reverse a string.

* Update ReverseString.js

* Update Heapsort.js

* Update QuickSelect.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-05-07 20:57:23 +05:30
7ff6b8716f editing file names 2020-05-06 21:07:49 +05:30
6507cbf7d4 sort/ 2020-05-05 17:41:32 +05:30
622ad9e41f sorts/ 2020-05-04 11:58:44 +05:30
f74a3aef1f Merge branch 'master' into master 2020-05-03 20:17:33 +05:30
856dc2f63c npx standard --fix 2020-05-03 09:05:12 +02:00
95bba0b0ea update (#1)
* Graph Theory

* Delete Graphs

* Graph

* Dijkstra Smallest Path

* DijkstraSmallestPath

after fixing some errors.

* Topological Sort 

directed graphs

* correcting name of file

* updating DIRECTORY.md

* doublylinkedlist

* add-doublylinkedlist

* add-doublylinkedlist

* change in Directory.md

* updating DIRECTORY.md

Co-authored-by: Nur69 <60115902+Nur69@users.noreply.github.com>
Co-authored-by: Stepfen Shawn <m18824909883@163.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: hmizz <hamza.chabchoub@medtech.tn>
2020-05-03 01:03:10 +05:30
0b411b93c0 correcting name of file 2020-04-21 10:18:32 +02:00
9fe41bb219 Topological Sort
directed graphs
2020-04-19 17:10:25 +02:00
71bbd07836 Merge pull request #88 from PatOnTheBack/master
Improved JSLint Compliance and Created Math Algorithms
2019-08-07 18:33:05 +08:00
f37cac8508 Fixed Whitespace, Operators, and Quotes to Comply with JSLint
I modified the whitespace in the files and changed single quotes to double quotes.

I also changed some `==` and `!=` operators to `===` and `!==` to comply with JSLint.
2019-06-27 10:41:44 -04:00
d582ccfc9f Added Semicolon to Avoid Auto Semicolon Insertion
This fixes a [recommendation on lgtm](9fe2ca0492/files/Sorts/bucketSort.js)
2019-06-26 21:23:46 -04:00
4b47c0661b Add wiggle sort 2019-04-25 21:58:03 +05:30
7b82729d7e Merge pull request #64 from KuLi/bucket_sort
Implemented bucket sort algorithm
2018-10-23 10:49:45 +05:30
9f7639e498 Merge pull request #74 from KuLi/cycleSort
Implemented cycle sort algorithm
2018-10-23 09:43:08 +05:30
7a814932a4 Implemented cycle sort algorithm 2018-10-22 19:27:31 +02:00
348919a066 Added Missing declaration 2018-10-19 13:07:13 +05:30
120947a7ca Merge pull request #65 from KuLi/combSort
Implemented comb sort algorithm
2018-10-18 20:57:20 +05:30
3afb902885 Implemented comb sort algorithm 2018-10-18 16:58:37 +02:00
9cd9b16bee Implemented bucket sort algorithm 2018-10-17 19:23:59 +02:00
b96bab7fe1 Added Declaration for Local Variable 2018-10-16 19:11:21 +05:30
7bd9840773 feat: add flashsort
Related: #14
2018-10-14 00:16:51 +03:00
81bd46c18c feat: add counting sort
Related: #14
2018-10-14 00:15:49 +03:00
78860e0b33 Merge pull request #56 from christianbender/changed_heapSort
added let-statment
2018-03-31 00:02:01 +02:00
969902a73d added let-statment 2018-03-31 00:01:22 +02:00
f39a99998f Merge pull request #55 from christianbender/changed_gnomeSort
added the let-statment
2018-03-30 23:46:41 +02:00
1c835b4ab2 added the let-statment 2018-03-30 23:45:36 +02:00
370361ad48 Merge pull request #52 from christianbender/changed_bogoSort
fixed a leak and added the let-statement
2018-03-30 23:41:18 +02:00
f6c35bd6d2 Merge pull request #53 from christianbender/fixed_cocktailShakerSort
fixed the function cocktailShakerSort and added the let-statment.
2018-03-30 23:41:08 +02:00
18349287d1 added the let-statment and fixed a leak. 2018-03-30 23:40:08 +02:00
c83b680311 fixed two leaks 2018-03-30 23:37:47 +02:00
3367dc1b17 fixed the function cocktailShakerSort and added the let-statment. 2018-03-30 23:30:43 +02:00
c977d81dd7 fixed a leak and added the let-statement 2018-03-30 23:19:43 +02:00
4f2361cb91 Merge pull request #26 from Panzki/radixSort
Added radixsort algorithm.
2017-10-18 18:31:28 +05:30
28343d2cc3 add console printing for after sorting 2017-10-16 13:05:33 +01:00