cf5ff92ef9
Add tests for Maths/IsDivisible
2021-05-05 14:23:50 +09:00
469a0e06c8
Improve input validation of isDivisible
...
- Use Number.isFinite() for validation
- Throw an error instead of returning a string
- Instead of returning a string, return false when divisor === 0 since no numbers are in fact divisible by 0.
2021-05-05 14:22:10 +09:00
5a0db06e8c
Fix case of file name of isDivisible
2021-05-05 14:21:20 +09:00
1f232065d4
updating DIRECTORY.md
2021-04-29 13:27:32 +00:00
625296b5bc
Add Vector2 ( #593 )
...
* add Vector2.js
* Rename Data-Structures/Vector2.js to Data-Structures/Vectors/Vector2.js
2021-04-30 01:27:11 +12:00
9e384f705c
updating DIRECTORY.md
2021-04-16 01:07:26 +00:00
04b86390d7
Merge pull request #585 from algobytewise/add-RGB-HSV-conversion
...
Add RGB-HSV conversion
2021-04-15 22:07:12 -03:00
6206984659
updating DIRECTORY.md
2021-04-16 01:07:04 +00:00
a1c4e34a3d
Merge pull request #584 from algobytewise/add-koch-snowflake
...
Add Koch snowflake
2021-04-15 22:06:47 -03:00
9c01e92cef
updating DIRECTORY.md
2021-04-16 01:06:24 +00:00
7b1784763e
Merge pull request #575 from algobytewise/Add-algorithm-Euler-method
...
Add algorithm Euler method
2021-04-15 22:06:09 -03:00
e7ab091487
updating DIRECTORY.md
2021-04-16 01:05:34 +00:00
0473c4ea02
Merge pull request #580 from algobytewise/add-mandelbrot
...
Add algorithm for the Mandelbrot set
2021-04-15 22:05:14 -03:00
84a4f6bd7a
Update nodejs.yml
2021-04-14 23:02:49 +02:00
e22405f23b
Update nodejs.yml
2021-04-14 22:59:04 +02:00
7e0169b260
Cleanup Node.js CI
2021-04-14 22:55:49 +02:00
57ba1f1ee4
eslint-disable-line no-unused-vars
2021-04-12 16:27:35 +05:30
ecf4ad9eb5
update RgbHsvConversion.js
2021-04-12 16:20:43 +05:30
21c1dda447
update RgbHsvConversion.js
2021-04-12 16:16:15 +05:30
b85ac9ae00
add RgbHsvConversion.js
2021-04-12 16:11:12 +05:30
ec807b1337
Update README.md
2021-04-03 20:15:02 +05:30
1156520d95
updating DIRECTORY.md
2021-04-03 14:30:10 +00:00
d43de686c5
Add FindSecondLargestSort ( #523 )
...
* Add FindSecondLargestSort
* Add FindSecondLargestSort
* Add FindSecondLargestSort
* Add FindSecondLargestSort
* Add FindSecondLargestSort
* Add FindSecondLargestSort
* Update and rename FindSecondLargestSort.js to FindSecondLargestElement.js
* Update FindSecondLargestElement.js
* Update FindSecondLargestElement.js
Co-authored-by: MacBookPro <macbookpro@MacBookPros-MBP.attlocal.net>
Co-authored-by: vinayak <itssvinayak@gmail.com>
2021-04-03 19:59:58 +05:30
b7ef904b5e
Update package.json ( #577 )
...
* Update package.json
* Update README.md
* Update README.md
2021-04-03 13:49:54 +05:30
3b229782c0
Bump y18n from 4.0.0 to 4.0.1 ( #583 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-03 13:48:49 +05:30
1dee811133
add KochSnowflake.js
2021-04-01 22:22:42 +05:30
68f044054e
Add Mandelbrot
2021-03-20 17:31:45 +05:30
769ef0e891
Adjusted looping to include the endpoint
2021-03-08 20:56:20 +05:30
fb9ad3bb19
updating DIRECTORY.md
2021-03-06 06:47:58 +00:00
9fddc0b31c
Merge pull request #570 from algobytewise/ConwaysGameOfLife
...
Added Conways game of life
2021-03-06 12:17:42 +05:30
dace7bf652
changed step size in example for better precision
2021-03-05 21:14:35 +05:30
aa52eeee4f
Add algorithm Euler method
2021-03-05 16:18:07 +05:30
cb9c29e07b
Merge pull request #1 from TheAlgorithms/master
...
update fork
2021-03-05 16:11:44 +05:30
33549a345c
updating DIRECTORY.md
2021-02-28 03:18:51 +00:00
3c3cae6e8a
Merge pull request #572 from algobytewise/add-BreadthFirstShortestPath
...
Add algorithm Breadth-first shortest path
2021-02-28 08:48:34 +05:30
c1e0dcb036
fix: updated description comment
2021-02-28 08:44:38 +05:30
6735029d8a
updating DIRECTORY.md
2021-02-28 03:11:43 +00:00
c57d1be3e6
Merge pull request #571 from algobytewise/add-BreadthFirstSearch
...
add algorithm Breadth-first search
2021-02-28 08:41:26 +05:30
60dd4069e8
use set to keep track of visited nodes, updated description
2021-02-27 09:51:51 +05:30
853386fa97
use set to keep track of visited nodes, corresponding adjustments to doctest
2021-02-27 09:44:33 +05:30
d11df93cd0
Add algorithm Breadth-first shortest path
2021-02-25 15:28:52 +05:30
692c0dc91b
add algorithm Breadth-first search
2021-02-25 15:22:35 +05:30
a9e12e3b98
moved glider to the bottom
2021-02-18 18:46:42 +05:30
98112c6178
Added Conway's Game of Life
...
example adapted from https://github.com/TheAlgorithms/Python/blob/master/cellular_automata/conways_game_of_life.py
2021-02-18 18:43:00 +05:30
4bc2b28b7e
#559 Improve Palindrome check
...
* #559
* #559
* #559
* #559
Co-authored-by: LOkesh <lpatil@rewardhealth.com>
2021-02-17 01:48:00 +05:30
21b003ec70
updating DIRECTORY.md
2021-02-13 16:52:44 +00:00
eb0005fae8
Merge pull request #488 from Waddah-JD/project-euler-problem-005
...
Project Euler problem 005 solution
2021-02-13 22:22:28 +05:30
de4504f71d
Rename Problem005.js to Problem5.js
2021-02-13 22:17:14 +05:30
8ccc816dcb
updating DIRECTORY.md
2021-02-13 16:28:32 +00:00
8a1e74f9c3
Merge pull request #491 from Waddah-JD/project-Euler-problem-009-solution
...
Project Euler problem 009 solution
2021-02-13 21:58:16 +05:30