a99ba4f3e9
chore: Merge pull request #790 from arthurvergacas/Fermat-Primality-Test
...
Add Fermat Primality Test
2021-10-20 15:33:00 +05:30
0705fa540a
Auto-update DIRECTORY.md
2021-10-20 10:02:03 +00:00
6379d1b102
chore: Merge pull request #777 from indremak/add-next-power-of-two-algorithm
...
Add next power of two algorithm
2021-10-20 15:31:36 +05:30
4a0658866d
Auto-update DIRECTORY.md
2021-10-20 09:59:37 +00:00
db0a8c2111
chore: Merge pull request #788 from ddhira123/master
...
Added BinaryToHex Conversion
2021-10-20 15:29:02 +05:30
91d97010f8
Auto-update DIRECTORY.md
2021-10-20 09:46:34 +00:00
e4d69f8d9c
chore: Merge pull request #776 from raghhavtaneja/raghhavtaneja-patch-1
...
Create RodCutting.js
2021-10-20 15:16:04 +05:30
3cac210757
feat: Merge pull request #782 from oscard0m/add-cache-to-node-workflows
...
ci(workflow): add cache to workflows using actions/setup-node
2021-10-20 15:04:52 +05:30
dc1951fc58
Auto-update DIRECTORY.md
2021-10-20 09:16:22 +00:00
358b1992a5
chore: Merge pull request #789 from devcer/master
...
Added Maximum product of 3 numbers in an array
2021-10-20 14:45:44 +05:30
fa1abf4e1c
Minor fixes
...
- Add some explanation and links about Carmichael Numbers
- Remove explanation about in-built function Math.random()
2021-10-16 11:37:15 -03:00
a9d20515bf
chore: Merge pull request #783 from lvlte/ProjectEuler/018
...
Project Euler - Problem 18
2021-10-16 15:15:24 +05:30
67ec915d97
added throwing an error when array with <3 items is passed
2021-10-15 21:49:29 +05:30
ffb138adb1
Minor fixes
...
- Add default number of iterations
- Correct "corner cases" to "edge cases"
- Make clear which bounds are inclusive and which are exclusive
2021-10-15 12:21:48 -03:00
09ac20dec2
Auto-update DIRECTORY.md
2021-10-14 20:34:05 +00:00
c5e44d498a
A few suggestions / modifications / fixes
...
It seems you've accidentally swapped the implementation and the test file :)
The overall comment describing the algorithm (VERY nice doc, by the way) is not "proper" JSdoc => only one leading asterisk. It's generally considered good style to start a comment block (both JSdoc and regular comments) with a single, short sentence.
Further down, there were some git hiccups, most likely caused by merge conflicts?
2021-10-14 22:32:56 +02:00
3c2fdf7582
Add Fermat Primality Test
2021-10-14 15:15:49 -03:00
b3377bb79c
added a link to explanation
2021-10-14 21:14:48 +05:30
41ddee7074
Added Maximum product of 3 numbers in an array
2021-10-14 21:10:34 +05:30
0f39167538
Added BinaryToHex Conversion
2021-10-14 19:34:10 +07:00
53f2e3d15c
Updated directory.md
2021-10-13 11:50:29 +02:00
177f843195
Fix renamed variable after testing !
2021-10-13 11:49:10 +02:00
db7a28305e
Auto-update DIRECTORY.md
2021-10-13 09:37:07 +00:00
98ee73447e
Project Euler : add solution for problem 18 (Max Path Sum I) + test.
2021-10-13 11:36:22 +02:00
f640550d54
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows
2021-10-12 21:15:53 +02:00
5210273104
resolved style issues in the code
2021-10-12 16:55:56 +05:30
0ae960c4ee
added tests for rodCutting and made some changes
2021-10-12 11:06:21 +05:30
d6364548aa
Check if number is already power of two
2021-10-11 20:24:38 +03:00
372348f64c
add algorithm that calculates next power of two
2021-10-11 20:13:36 +03:00
0312ee731e
Create RodCutting.js
2021-10-11 21:54:41 +05:30
5f601fac8d
chore: Merge pull request #764 from lvlte/fixes
...
PR#759 - Fix test/build script and comply with JS standard styles.
2021-10-09 16:34:11 +05:30
8812f63ba2
Small fixes + comply with JS standard styles.
2021-10-09 12:23:49 +02:00
5a290c3ae5
chore: Merge pull request #759 from Aayushi-Mittal/powerOf2
...
Add code for checking whether given number is a power of 2 or not
2021-10-08 21:34:19 +05:30
3d8a577881
Auto-update DIRECTORY.md
2021-10-08 15:51:56 +00:00
7ce688b9db
Updated the code and did the required changes
2021-10-08 21:20:21 +05:30
46d6855771
chore: Merge pull request #745 from lvlte/ProjectEuler/016
...
Project Euler - Problem 16
2021-10-08 17:38:55 +05:30
572a9b1a33
chore: Merge pull request #747 from lvlte/ProjectEuler/020
...
Project Euler - Problem 20 (fix + test)
2021-10-08 17:36:48 +05:30
2c273ba662
Use ESM syntax and remove console.log()
2021-10-08 13:26:10 +02:00
52de039184
Use ESM syntax and remove console.log()
2021-10-08 13:21:01 +02:00
e978f4365d
Add code and tests for checking power of 2
2021-10-08 15:41:45 +05:30
cbf28a7bb2
Auto-update DIRECTORY.md
2021-10-08 08:01:21 +00:00
a83168c450
chore: Merge pull request #756 from nibble-4bits/algorithm/bufferToBase64
...
Create algorithm for converting binary data to base64
2021-10-08 13:30:50 +05:30
fc0647eec6
Auto-update DIRECTORY.md
2021-10-08 08:00:19 +00:00
017068480c
chore: Merge pull request #757 from nibble-4bits/algorithm/base64ToBuffer
...
Create algorithm for converting base64 to binary data
2021-10-08 13:29:46 +05:30
d6193f6a8a
Create algorithm for converting base64 to binary data
2021-10-08 00:51:04 -05:00
5d56140699
Add comment linking to base64 article in Wikipedia
2021-10-08 00:22:10 -05:00
281c675d63
Create algorithm for converting binary data to base64
2021-10-08 00:19:00 -05:00
2ae093b97c
Auto-update DIRECTORY.md
2021-10-07 07:41:27 +00:00
124d2010f0
chore: merge Added Temperature Conversions to Javascript ( #705 )
...
* Added Temperature Conversions to Javascript
I added a file which contains essential conversions needed to swap temperature units to one another.
Hope you like it :)
* Update Conversions/TemperatureConversion.js
Suggestions saved
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Added test file
"test" folder was created and tests required for "TemperatureConversions" was added to it
* Fixed minor syntax errors
* Update Conversions/test/TemperatureConversion.test.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Formatted TemperatureConversion.js
The code was modified to comply with rules and styes recommended by the repository
* Formatted TemperatureConversion.test.js
The code was modified to comply with rules and styes recommended by the repository
* Reformatted :)
Hope this passes the test :)
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-10-07 13:10:54 +05:30
95b75e81d3
chore: merge Fix/742 migrate doctest for Vector2.js ( #752 )
...
* Migrate doctest for Vector2.js
* Remove eslint disabling for no-unused-vars since now the class is exported at the end of the file
* Group all related tests to own jest describe blocks
* Improve the doc-comment by fixing it's formatting
2021-10-07 12:39:06 +05:30