Commit Graph

62 Commits

Author SHA1 Message Date
Kristofer Koishigawa
54dbf89fd7 fix(challenges): Edit Description and Add Solution for Project Euler 45 (#17126)
Updated the problem description with an inline CSS grid, <sup>, and
<var> tags. Also added a solution that user @elliotjz contributed
to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-05-08 15:43:20 -04:00
Kristofer Koishigawa
1325cc0513 fix(challenges): Edit Description and Add Solution for Project Euler 44 (#17127)
Updated the problem description with <sup> and <var> tags, and centered
some text. Also, added a solution that user @elliotjz contributed to the
fCC Arcade Mode.

BREAKING CHANGE: None
2018-05-06 21:48:17 +05:30
Kristofer Koishigawa
3629d35495 fix(challenges): Edit Description, Add Tests and Solution for Project Euler 40 (#17087)
Updated the problem description to more closely match the one on the Project Euler page. Also added more tests along with a solution that user @elliotjz contributed to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 14:31:51 +05:30
Kristofer Koishigawa
a2eaa120bb fix(challenges): Edit Description and Add Solution for Project Euler 38 (#17086)
Updated the problem description with `<val>` tags and improved the
formatting. Also added a solution that user @elliotjz contributed to
the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 14:31:23 +05:30
Kristofer Koishigawa
fd2a004d2e fix(challenges): Edit Description and Add Solution for Project Euler 33 (#17085)
Updated the problem description with <sup> and <sub> tags. Also added a
solution that user @elliotjz contributed to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 14:30:38 +05:30
Kristofer Koishigawa
67b1c32184 fix(challenges): Port Solution for Project Euler 32 from Arcade Mode (#17084)
Ported the solution for Project Euler 32 user @elliotjz contributed to
the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 14:30:11 +05:30
Kristofer Koishigawa
fa1cc4a436 fix(challenges): Edit Description, Add Tests and Solution for Project Euler 41 (#17088)
Updated the problem description with <i> tags. Removed a couple of tests
because they seemed too restrictive for the different approaches users
might take when solving this problem. Also added a solution
that user @elliotjz contributed to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 13:49:06 +05:30
Nicholas Nadeau, P.Eng., AVS
e5d52afad8 chore: fixed typos via client9/misspell (#17081) 2018-04-25 10:37:27 +05:30
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