367 Commits

Author SHA1 Message Date
5f961ba898 updating DIRECTORY.md 2020-06-20 04:57:06 +00:00
37ab4b0752 rename and reorganizing (#194) 2020-06-20 10:26:44 +05:30
656391bbf5 updating DIRECTORY.md 2020-06-20 04:44:46 +00:00
7e93136075 Dijkstras algorithm (#161)
* Renaming files according to naming convention

* Added Dijkstra's Algorithm
2020-06-20 10:14:31 +05:30
688043eb32 updating DIRECTORY.md 2020-06-20 04:39:28 +00:00
f75549f6d7 Created DijkstraSmallestPath.js in Graphs (#185)
* Created DijkstraSmallestPath.js in Graphs

* Deleted DijkstraSmallestPath.js from Maths
2020-06-20 10:09:07 +05:30
5ba1cffb20 Optimizing maxSum updation (#186)
* Optimizing maxSum updation

compare maxSum with cummulativeSum only when cummulativeSum is greater than zero

* Fixing linter error
2020-06-12 18:04:18 +05:30
bc3d69dd12 updating DIRECTORY.md 2020-05-27 16:56:48 +00:00
1a263d00d4 Merge pull request #179 from ChaymaJaziri/patch-2
HexToRGB
2020-05-27 22:26:23 +05:30
f5054ac93d Update HexToRGB 2020-05-27 22:24:44 +05:30
aca7d80cdb HexToRGB 2020-05-25 01:41:50 +01:00
3a7df561cb updating DIRECTORY.md 2020-05-23 06:02:02 +00:00
b2f6471b89 feat: adjust swap grammar (#175)
* feat: adjust swap grammar

* fix: grammar
2020-05-23 11:31:41 +05:30
e9d4da4ef5 updating DIRECTORY.md 2020-05-22 03:14:48 +00:00
735f173fc2 Number of Subset equal to given sum (#174)
* Number of Subset equal to given sum

* Update and rename Number of Subset equal to given sum to NumberOfSubsetEqualToGivenSum.js

* Update NumberOfSubsetEqualToGivenSum.js
2020-05-22 08:44:22 +05:30
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