Commit Graph

53 Commits

Author SHA1 Message Date
Kristofer Koishigawa
8d599d3e8a fix(seed): Format description, add tests and solution for Project Euler 18 (#16693)
Changed the description to more closely match the one on the Project
Euler page. Also added another test and solution.

Edit: Moved the numTriangle array to the head array to prevent lag.

Edit 2: Forgot to remove numTriangle from the solutions array. Should pass the test now.

BREAKING CHANGE: None
2018-03-06 10:52:22 +00:00
Kristofer Koishigawa
6b6c9c9c54 perf(challenges): Add Head and Remove Multiple Function Calls in Project Euler 22 (#16741)
Added a head section and moved the large names array to it to prevent
the page from lagging. Also removed multiple calls to the challenge
funtion in the challenge seed.

BREAKING CHANGE: None
2018-02-26 12:58:53 +00:00
Kristofer Koishigawa
ee086ae693 perf(challenges): Remove Multiple Calls to Challenge Function in Project Euler Problems (#16733)
Removed multiple calls to the challenge function in Project Euler
problems 11 and 14. Also adjusted the spacing of the tests array for
problem 23 to make it consistent with the rest of the file.

BREAKING CHANGE: None
2018-02-26 12:40:09 +00:00
Kristofer Koishigawa
0136b82c0e fix(seed): Add tests and solution for Project Euler 19 (#16694)
Added additional tests and a working solution for this problem.

BREAKING CHANGE: None
2018-02-15 09:11:54 +00:00
Kristofer Koishigawa
5d14e4bdd5 fix(seed): Add tests, solution, and edit description for Project Euler 16 (#16641)
Edited the description so the exponents are displayed properly, and
added more tests and a solution.

Amend: Edited the seed so that the challenge function in the seed is called only once.

BREAKING CHANGE: None
2018-02-15 09:06:41 +00:00
Kristofer Koishigawa
4a3d1c9dce fix(challenges): Add tests and solution for Project Euler problem 17 (#16685)
Added a couple of additional tests and a working solution for this
problem.

BREAKING CHANGE: None
2018-02-15 09:04:01 +00:00
Kristofer Koishigawa
8cdc783378 fix(seed): Add tests, solution, and image for Project Euler problem 15 (#16626)
Added more tests, a solution, and an image to make the description more
clear. The image is from Project Euler but is rehosted on imgur.

Amend: Edited the seed so that the challenge function in the seed is called only once.

BREAKING CHANGE: None
2018-02-15 09:02:17 +00:00
Kristofer Koishigawa
a3c546e1a3 fix(seed): Add tests for Project Euler problem 13 (#16617)
Added a head property to the challenge object and moved the large fiftyDigitNums array to it, preventing the browser from having to re-render it with every keystroke and causing lag. Also fixed a problem where the testNums and fiftyDigitNums arrays were not declared with const properly in my original PR.

BREAKING CHANGE: None
2018-02-14 10:55:21 +00:00
Kristofer Koishigawa
084ad620ec fix(seed): Add tests and solution for Project Euler 14 (#16621)
Added tests and a working solution for problem.
2018-02-10 21:13:22 +00:00
Huyen Nguyen
f3ad9ff6f8 fix(challenges): Fix typos in some project Euler problems (#16605) 2018-01-31 01:37:20 +05:30
Stuart Taylor
632c6c8840 Validate ObjectId on test (#16579)
* feat(challenges): Validate ObjectId on test

* fix(challenges): Fix 'id' field typo
2018-01-29 10:11:27 -06:00
Kristofer Koishigawa
3ef9315310 fix(challenges): Add tests for Project Euler problem 12 (#16545) 2018-01-28 13:22:50 +05:30
Kristofer Koishigawa
c2e057aadc fix(challenges): Add Project Euler problem 11 solution and tests (#16480)
Added tests and a working solution for Project Euler problem 11. Also added some styling to the problem's description to highlight four numbers in red to be more in-line with the description on the projecteuler.net.
2018-01-18 23:03:17 +05:30
mrugesh mohapatra
6e3fb92c9b Merge pull request #16437 from scissorsneedfoodtoo/feature/euler-problem-22
feat(challenges): Add Project Euler problem 22
2018-01-17 12:06:23 +05:30
Berkeley Martinez
65a37c32dc Merge pull request #15856 from AungMyoKyaw/feat/eluer-prob-4
feat(euler-problem): Add tests and solution for Problem 4: Largest palindrome product
2018-01-16 08:13:31 -08:00
Kristofer Koishigawa
cdd9c54192 fix(challenges): Add tests and solution for Euler Problem 10 (#16431)
Added tests and working solution for Euler Problem 10.
2018-01-15 11:37:56 +05:30
Kristofer Koishigawa
c79068e058 fix(challenges): Add tests and solution for Euler problem 5 (#16421) 2018-01-15 11:36:42 +05:30
Aung Myo Kyaw
3c266b2663 feat(euler-problem): Add Test and solution for euler problem 9 (#16029)
* feat(euler-problem): Add Test and solution for euler problem 9

* style: Fix up formating per comments
2018-01-11 21:22:04 -05:00
Mrugesh Mohapatra
3b291b26ef fix(euler): Fixed broken build 2018-01-12 04:09:37 +05:30
Aung Myo Kyaw
36612f023a feat(euler-problem): Add tests and solution for Problem 4: Largest palindrome product 2018-01-12 03:52:28 +05:30
scissorsneedfoodtoo
9a4623eef3 feat(challenges): Add Project Euler problem 22
Noticed that problem 22 was missing from the seed file and decided to
add it along with some additional tests. However, I didn't include a
solution because I would have had to repeat the entire names array in
the solution string.

BREAKING CHANGE: None
2018-01-07 19:46:33 +09:00
Alvin Kristanto
ac0883f208 feat(seed): Added more assertions for project euler (#16079) 2018-01-05 18:50:03 +05:30
Kristofer Koishigawa
ac37176d1b style(challenges): Style changes and added solutions (#16372)
Renamed some of the functions in the challengeSeeds/tests, and added a
couple of solutions.

BREAKING CHANGE: None
2018-01-01 17:33:18 -06:00
Alvin Kristanto
3d3a3343ba feat(seed): Added more assertions for Project Euler Problem (#15953) 2017-12-26 15:10:39 +05:30
Alvin Kristanto
ffc03dcdf6 feat(seed): Added more assertions for Project Euler Problem (#15952) 2017-12-26 15:10:11 +05:30
Alvin Kristanto
0ee6572a86 feat(seed): Added more assertions for Project Euler Problem (#15950) 2017-12-26 15:09:32 +05:30
Berkeley Martinez
05cb7f5702 Merge pull request #16116 from QuincyLarson/fix/cleanup-map-seed-files
fix: cleanup seed files and landing pages.
2017-11-29 15:48:45 -08:00
Alvin Kristanto
79c5d96bac feat(seed): Added more assertions for Project Euler (#16078) 2017-11-25 12:09:23 -06:00
Quincy Larson
278ba0a57c fix(seed): Clean up seed directory and add open source for go 2017-11-24 14:50:04 -06:00
Alvin Kristanto
1b8d28c0be feat(seed): Added more assertions for Project Euler (#16065) 2017-11-09 20:38:07 -06:00
Alvin Kristanto
7086bf61a6 feat(seed): Change task and assertion for Project Euler (#16082) 2017-11-09 20:32:44 -06:00
Alvin Kristanto
04cf144c9f feat(seed): Added more assertions for Project Euler (#16057) 2017-10-30 16:25:39 -05:00
Aung Myo Kyaw
e376cfbbdc feat(euler-problem): Add test and solution for problem 7 (#15988) 2017-10-27 09:38:49 +07:00
Aung Myo Kyaw
591b7bf0f4 feat(euler-problem): Add test and solution for project euler problem 6 (#15987) 2017-10-26 08:40:10 +07:00
Aung Myo Kyaw
9d6453d985 feat(euler-problem): Add test and solution for problem 8 (#15990) 2017-10-26 08:08:28 +07:00
Alvin Kristanto
739f1879a2 feat(seed): Added more assertion for Project Euler problem twe (#15887) 2017-10-25 01:03:42 -05:00
Alvin Kristanto
ada67f8649 feat(seed): Added more assertion for problem twenty eight (#15913) 2017-10-25 01:03:22 -05:00
Alvin Kristanto
f0a41f1cf3 feat(seed): Added more assertions for Project Euler problem tw (#15881) 2017-10-25 01:03:04 -05:00
Alvin Kristanto
efef231fa8 feat(seed): Added more assertions for Project Euler (#16028) 2017-10-25 00:58:56 -05:00
Alvin Kristanto
0b48fad058 feat(seed): Added more assertions for Project Euler (#16023) 2017-10-25 00:54:01 -05:00
Alvin Kristanto
b64f642187 feat(seed): Change Project Euler assertion (#16021) 2017-10-25 00:45:38 -05:00
Alvin Kristanto
26c8dcdd15 feat(seed): Added more assertion for problem twenty four (#15850) 2017-09-11 21:39:28 -05:00
Alvin Kristanto
b278a59139 feat(seed): Added more assertion for Project Euler problem twe (#15874) 2017-09-11 17:57:40 -05:00
Beau Carnes
d3778427a6 Merge pull request #15811 from alvinkl/feature/problem_euler23
feat(challenges): Added more assertion for Project Euler problem twe
2017-09-05 09:16:03 -04:00
williamsb
c2728eae63 refactor(challenges): Remove euler problem (#15837)
BREAKING CHANGE: Remove euler problem 22 from the file

Closes #15831
2017-09-02 22:16:30 -07:00
Alvin Lim
8511653b54 feat(challenges): Added more assertion for Project Euler problem twe 2017-08-27 16:35:31 +07:00
Aung Myo Kyaw
575c362d1a feat(seed): Add tests and solution to Problem: Largest Prime Factor 2017-08-25 17:08:51 +06:30
Alvin Kristanto
1e2364bb74 feat(challenges): Updated project euler problem (#15754)
added more assertion and tweaked the task

feat(challenges): Added solution for project euler

Added solution for project euler problem 21
2017-08-21 23:36:34 -05:00
Sophanarith Sok
74f35d6999 test(tests): Add tests to Problem: Even Fibonacci Numbers (#15773)
Add more specific tests and edit motivational comment for something more
interesting.
2017-08-21 23:15:54 -05:00
Sophanarith Sok
56b9349c37 test(seed): Add tests to Project Euler (#15750)
Add more tests. Add parameter to function to enable more specific tests
and enables easier way to verify a valid function. Update problem
description.
2017-08-11 14:57:00 -05:00