302 Commits

Author SHA1 Message Date
9000e1caaa Re-orgainze files and folders in the repository (#172)
* Re-orgainze files and folders in the repository

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-05-18 11:10:07 +05:30
e4f02a4528 updating DIRECTORY.md 2020-05-18 04:46:21 +00:00
cb0aff9ec2 Add Graph BFS algorithm (#169)
* Add Graph BFS algorithm

* updating DIRECTORY.md

* Fix failing tests

* updating DIRECTORY.md

* Fix further failing tests

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-05-18 10:15:53 +05:30
25dac3a1e3 updating DIRECTORY.md 2020-05-13 12:29:49 +00:00
8fca284103 BogoSort.js: Simplify Array.isSorted() and add doctests
BogoSort.js: Simplify Array.isSorted() and add doctests
2020-05-13 14:29:26 +02:00
3432aded27 updating DIRECTORY.md 2020-05-12 23:31:32 +00:00
4913d5fe14 npx doctest Sorts/BogoSort.js Sorts/BucketSort.js 2020-05-13 01:31:00 +02:00
5331e55dfc updating DIRECTORY.md 2020-05-12 23:29:03 +00:00
215005325c Update nodejs.yml 2020-05-13 01:28:46 +02:00
cafb7e55b4 updating DIRECTORY.md 2020-05-12 23:28:15 +00:00
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
e8f1d888b3 updating DIRECTORY.md 2020-05-12 22:48:07 +00:00
66391ca209 Ensure that build fail on bad test 2020-05-13 00:47:49 +02:00
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