04fbf92480
fixed the miss spelled the file name
2021-10-16 15:45:12 +05:30
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
274686a5fe
RomanToDecimal : Fix import (typo).
2021-10-11 16:33:44 +02:00
e3a10eec6f
Pull/merge updated directory.md
2021-10-11 16:25:22 +02:00
8c64f99316
Officially switching to ES Module system.
2021-10-11 16:23:02 +02:00
88ee1325d5
Auto-update DIRECTORY.md
2021-10-11 14:17:59 +00:00
cb6201f03f
Project Euler problems (numbering) : follow naming convention.
2021-10-11 16:17:25 +02:00
df4a783b06
Complying with JavaScript Standard Style (npx standard --fix).
2021-10-11 15:49:24 +02:00
87a3da7e37
Remove console.log
2021-10-11 15:11:52 +02:00
9218a5c73e
RomanToDecimal : live test and example were removed, adding Jest test instead.
2021-10-11 14:51:30 +02:00
e3d605c528
Breadth FIrst Tree Traversal : Convert live test into Jest test.
2021-10-11 14:48:06 +02:00
036ac907ae
Graph2.js : Convert live test into Jest test.
2021-10-11 14:23:24 +02:00
e18718b7d5
Remove live code & console.log, leave examples as comments.
2021-10-11 14:07:10 +02:00
90356f340d
Exponential Search : Fix 'value' is not defined
error .
2021-10-11 12:58:45 +02:00
74f296578a
Search/Sorts algoruthms : remove live code & console.log, leave examples as comments.
2021-10-11 12:29:03 +02:00
8a7be96c9d
Fix non-standard syntax
2021-10-10 19:11:57 +02:00
5f45b540b9
Remove live code & console.log, leave examples as comments (ProjectEuler, Recursive).
2021-10-10 18:18:25 +02:00
9212e6d684
Remove live code & console.log, leave examples as comments (Geometry, Graphs, Maths).
2021-10-10 17:55:08 +02:00
29d2a84090
Dynamic-Programming : remove live code & console.log, leave examples as comments.
2021-10-10 17:00:21 +02:00
449ef45193
Data Structure : Convert live test to Jest test. Remove live code & console.log
2021-10-10 16:25:41 +02:00
a3d44ad3e1
Data Structure : remove live code & console.log
2021-10-10 16:11:06 +02:00
1d1729822a
running the test and style commands
2021-10-10 12:41:22 +05:30
a13ea05ecf
adding test file for AlphaNumericPalindrome algorithm
2021-10-10 12:34:10 +05:30
5d387d3de1
adding AlphaNumericPalindrome.js, an algorithm question from freecode
2021-10-10 12:31:00 +05:30
30779682b9
Conversions algorithms : remove live code & console.log.
2021-10-09 18:15:30 +02:00
ab7e51909a
LFUCache/LRUCache : convert live code example to Jest test.
2021-10-09 18:01:42 +02:00
5c4be7604d
Remove live code & console.log (Backtracking, Bit-manipulation, Ciphers).
2021-10-09 17:47:03 +02:00
7f6a53ad4a
KnightTour : convert live code example to Jest test (log remaining is within a print method).
2021-10-09 15:05:52 +02:00
97724cc937
Merge branch 'TheAlgorithms:master' into issues/720
2021-10-09 14:52:17 +02:00
5624fa61a6
Merge branch 'issues/720' of https://github.com/lvlte/Javascript into issues/720
2021-10-09 14:31:37 +02:00
09da5eef17
Fix GeneratePermutations so that it actually returns the permutations instead of logging them + add Jest test.
2021-10-09 14:29:44 +02:00
51897ca984
Auto-update DIRECTORY.md
2021-10-09 12:08:10 +00:00