Commit Graph

54 Commits

Author SHA1 Message Date
Alex Chaffee
022f96d40d feat(seed): reformat seed/challenges JSON via repack script 2018-04-03 19:53:44 +05:30
Kristofer Koishigawa
5f1ec53230 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
6d5f468067 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
11df3f3b0d 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
2eafac5989 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
9ae25664b5 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
38cee8bce5 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
748b257234 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
47ca691a14 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
43eaff2957 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
b2e58ab212 fix(challenges): Fix typos in some project Euler problems (#16605) 2018-01-31 01:37:20 +05:30
Stuart Taylor
4ce84166ed 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
20b46cc6c4 fix(challenges): Add tests for Project Euler problem 12 (#16545) 2018-01-28 13:22:50 +05:30
Kristofer Koishigawa
b1fcdbf9d4 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
953208244c 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
a2d3cc6bfb 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
8c42b475a1 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
becef503fb fix(challenges): Add tests and solution for Euler problem 5 (#16421) 2018-01-15 11:36:42 +05:30
Aung Myo Kyaw
68c4485e12 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
b1d3037989 fix(euler): Fixed broken build 2018-01-12 04:09:37 +05:30
Aung Myo Kyaw
4814adc6a4 feat(euler-problem): Add tests and solution for Problem 4: Largest palindrome product 2018-01-12 03:52:28 +05:30
scissorsneedfoodtoo
19af4f6bc6 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
8319472d5a feat(seed): Added more assertions for project euler (#16079) 2018-01-05 18:50:03 +05:30
Kristofer Koishigawa
40d34c39dc 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
f792a4380a feat(seed): Added more assertions for Project Euler Problem (#15953) 2017-12-26 15:10:39 +05:30
Alvin Kristanto
7108b91de5 feat(seed): Added more assertions for Project Euler Problem (#15952) 2017-12-26 15:10:11 +05:30
Alvin Kristanto
f6dedc7023 feat(seed): Added more assertions for Project Euler Problem (#15950) 2017-12-26 15:09:32 +05:30
Berkeley Martinez
a92ff79b5e 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
8a327b6ca0 feat(seed): Added more assertions for Project Euler (#16078) 2017-11-25 12:09:23 -06:00
Quincy Larson
927ddacda6 fix(seed): Clean up seed directory and add open source for go 2017-11-24 14:50:04 -06:00
Alvin Kristanto
54feadc6e2 feat(seed): Added more assertions for Project Euler (#16065) 2017-11-09 20:38:07 -06:00
Alvin Kristanto
28067a965b feat(seed): Change task and assertion for Project Euler (#16082) 2017-11-09 20:32:44 -06:00
Alvin Kristanto
185a7cda88 feat(seed): Added more assertions for Project Euler (#16057) 2017-10-30 16:25:39 -05:00
Aung Myo Kyaw
032a1c34ae feat(euler-problem): Add test and solution for problem 7 (#15988) 2017-10-27 09:38:49 +07:00
Aung Myo Kyaw
308afdd1ae feat(euler-problem): Add test and solution for project euler problem 6 (#15987) 2017-10-26 08:40:10 +07:00
Aung Myo Kyaw
36e8a29766 feat(euler-problem): Add test and solution for problem 8 (#15990) 2017-10-26 08:08:28 +07:00
Alvin Kristanto
945c9b0fd3 feat(seed): Added more assertion for Project Euler problem twe (#15887) 2017-10-25 01:03:42 -05:00
Alvin Kristanto
2037576712 feat(seed): Added more assertion for problem twenty eight (#15913) 2017-10-25 01:03:22 -05:00
Alvin Kristanto
6329dac4a3 feat(seed): Added more assertions for Project Euler problem tw (#15881) 2017-10-25 01:03:04 -05:00
Alvin Kristanto
4de1be810b feat(seed): Added more assertions for Project Euler (#16028) 2017-10-25 00:58:56 -05:00
Alvin Kristanto
1c73aa1288 feat(seed): Added more assertions for Project Euler (#16023) 2017-10-25 00:54:01 -05:00
Alvin Kristanto
2f4b77f313 feat(seed): Change Project Euler assertion (#16021) 2017-10-25 00:45:38 -05:00
Alvin Kristanto
0b969e5d3e feat(seed): Added more assertion for problem twenty four (#15850) 2017-09-11 21:39:28 -05:00
Alvin Kristanto
42008876f8 feat(seed): Added more assertion for Project Euler problem twe (#15874) 2017-09-11 17:57:40 -05:00
Beau Carnes
891c977cb4 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
abbdb28228 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
b41a3c0ff4 feat(challenges): Added more assertion for Project Euler problem twe 2017-08-27 16:35:31 +07:00
Aung Myo Kyaw
7b8256a519 feat(seed): Add tests and solution to Problem: Largest Prime Factor 2017-08-25 17:08:51 +06:30
Alvin Kristanto
6710a77508 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
661ecf9dab 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