438 Commits

Author SHA1 Message Date
8ada7ec5f7 updating DIRECTORY.md 2020-05-12 22:42:26 +00:00
b8350d9122 npx doctest Sorts/BogoSort.js 2020-05-13 00:42:05 +02:00
9328ac686e node_modules/doctest Sorts/BogoSort.js || true 2020-05-13 00:38:04 +02:00
424d1d8135 npx doctest Sorts/BogoSort.js || true 2020-05-13 00:32:34 +02:00
17107f5cb7 Update nodejs.yml 2020-05-13 00:28:48 +02:00
90ec2ac522 Update nodejs.yml 2020-05-13 00:19:13 +02:00
7d79a4196b doctest --module Sorts Sorts/BogoSort.js 2020-05-13 00:10:46 +02:00
741e8fbb4b node -e "doctest('Sorts/BogoSort.js', {})" 2020-05-12 23:58:56 +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
86b3622536 Merge pull request #167 from TheAlgorithms/run-node-UpdateDirectory.js
run: node .github/workflows/UpdateDirectory.js
2020-05-12 17:41:59 +02:00
d8a2e7b0e0 updating DIRECTORY.md 2020-05-12 09:31:15 +00:00
32d5dd477c run: node .github/workflows/UpdateDirectory.js 2020-05-12 11:30:51 +02:00
0893767dd5 run: node UpdateDirectory.js 2020-05-10 17:58:12 +02:00
856ec1b560 updating DIRECTORY.md 2020-05-10 15:51:23 +00:00
3730807807 Merge pull request #163 from sahilbansal17/js-directory-workflow
Fixes: #160
2020-05-10 17:51:09 +02:00
3b03e3b415 Rename script.js to UpdateDirectory.js 2020-05-10 17:50:29 +02:00
7e4c63f566 JavaScript, not Javascript (#166) 2020-05-10 17:01:03 +05:30
c276a695ad GitHub Action nodejs.yml upgrade to Node.js 14 (#165) 2020-05-10 17:00:21 +05:30
b971510cc3 Add build_directory_md 2020-05-10 11:35:25 +05:30
bac5ba545f updating DIRECTORY.md 2020-05-09 18:56:09 +00:00
e0789bccde Add reverse words (#162)
* add reverse words

* Update ReverseWords.js

* Update ReverseWords.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-05-10 00:25:56 +05:30
337f3c2abc Add md_prefix and print_path functions 2020-05-09 19:22:01 +05:30
34f658b928 updating DIRECTORY.md 2020-05-09 13:01:33 +00:00
f6dd3826ad Add good_filepaths function in workflow script 2020-05-09 18:30:49 +05:30
f2ab68e6be updating DIRECTORY.md 2020-05-09 04:39:19 +00:00
0085ea3e7c format files 2020-05-09 10:08:40 +05:30
fbe929c757 updating DIRECTORY.md 2020-05-09 04:36:21 +00:00
f4fdfd2b4b Fibonacci without recursion added (#159)
* changes made

* Update Fibonacci.js

* fib

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-05-09 10:06:07 +05:30
8655fd0171 updating DIRECTORY.md 2020-05-08 12:24:36 +00:00
670edfc9aa Renaming files according to naming convention (#158) 2020-05-08 17:54:19 +05:30
8d3d0757e4 updating DIRECTORY.md 2020-05-07 22:51:45 +00:00
728363024a Max heap implementation (#157)
* Added MaxHeap implementation

* Added MaxHeap implementation

* Added MaxHeap implementation

* Added MaxHeap implementation

* Delete package-lock.json

* Delete .gitignore
2020-05-08 04:21:27 +05:30
47db0564d1 Update README.md 2020-05-07 21:47:41 +05:30
4d6ff81484 updating DIRECTORY.md 2020-05-07 15:27:52 +00: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
a052808687 Merge pull request #154 from itsvinayak/master
changing file names to follow UpperCamelCase (PascalCase) style.
2020-05-06 19:45:27 +02:00
68b4111c04 updating DIRECTORY.md 2020-05-06 15:38:37 +00:00
7ff6b8716f editing file names 2020-05-06 21:07:49 +05:30
98a3f78537 Update README.md 2020-05-06 18:40:33 +05:30
1e540e9dec Update nodejs.yml 2020-05-06 18:37:36 +05:30
801116259b updating DIRECTORY.md 2020-05-06 13:01:02 +00:00
75f6888019 Javascript/Math: editing file name 2020-05-06 18:30:19 +05:30
ba75297f72 updating DIRECTORY.md 2020-05-06 12:48:49 +00:00
6f0029cc41 Create Fibonacci.js (#133)
* Create Fibonacci.js

* Update Fibonacci.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-05-06 18:18:32 +05:30
e57ec1f1c3 updating DIRECTORY.md 2020-05-06 12:27:37 +00:00
d914bd9041 added hcf finding algorithm (#104)
* added hcf finding algorith

* Update and rename find_hcf.js to FindHcf.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-05-06 17:57:22 +05:30
ed4b295a43 Update CONTRIBUTING.md 2020-05-06 17:56:26 +05:30
2aebc951b1 Update README.md 2020-05-06 14:23:37 +02:00
14f6869101 Create pull_request_template.md (#153)
* Create pull_request_template.md

* Update pull_request_template.md

* Update pull_request_template.md

* Update pull_request_template.md

* Update pull_request_template.md
2020-05-06 17:49:51 +05:30
a58cb35c9c updating DIRECTORY.md 2020-05-06 09:27:02 +00:00