Commit Graph

165 Commits (dc3b2508e4742f50d41b019e25b3a9c11dd85949)

Author SHA1 Message Date
Kim Leung e57f32438c
fix(learn): correct LCG equation in description (#40615)
* fix(learn): correct LCG equation in description

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/linear-congruential-generator.md

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

* Update curriculum/challenges/chinese/10-coding-interview-prep/rosetta-code/linear-congruential-generator.md

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

* Revert LCG equation in Chinese file

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-01-20 22:05:37 -08:00
Randell Dawson dd4c7e0097
fix(learn): Update text as code for vector-dot-product (#40460)
* fix: implemented suggestted changes

* fix: correct last test expected return value

* fix: remove slash

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

* fix: remove slash

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

* fix: add test to return null if more than 2 vectors

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

* fix: added correct solution

* fix: removed extra brackets

Co-authored-by: Yuval Levental <yhl3051@rit.edu>

Co-authored-by: Lakshya Baghel <lakshyab.1999@gmail.com>
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
Co-authored-by: Yuval Levental <yhl3051@rit.edu>
2021-01-20 21:23:10 -08:00
Ian Turner fb2e5d81f3
Add line breaks to instructions (#40425) (#40428)
* feat: add line breaks to instructions  (#40425)

* feat: add punctuation to instructions (#40425)
2021-01-20 22:19:21 -07:00
Nicholas Carrigan (he/him) 8d8d25e9f2
fix(learn): address escaped backticks (#40717)
* fix(learn): address escaped backticks

Addresses the instances of escaped backticks - where a backtick is
preceded by a backslash.  In most cases, this was left over from the
old parser. In some cases, a backtick was intended to be wrapped in
code tags and has been adjusted accordingly.

This issue came to light due to a bug in the translation flow on
Crowdin.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: EVEN MORE :( :( :(

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: backslash nightmares

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: When you wish upon a *******

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix(curriculum): md error introduced by formatter

* fix(curriculum): remove extra `s

* fix: restore quote symbol

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: Typo

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: apply review changes

Applying review feedback from call with @RandellDawson.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: markdown does weird stuff sometimes

Can't stick backticks together - use code.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-20 19:01:00 -07:00
Sergey Rufanov 5379b04387
fix(learn): Removed note about commented array from sorting algorithm challenges (#40652) 2021-01-16 12:00:10 -08:00
Jeremy L Thompson a5840f57a4
Update Description of Stern-Brocot Challenge (#40686)
* fix: update description of target function

* fix: include note about 1 based indexing
2021-01-16 12:57:38 -07:00
Oliver Eyton-Williams ee1e8abd87
feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00
miyaliu666 9770cd0f81
translated some Chinese curriculum files (#40531)
* translate task #1 - #4

* add translation of zhang-suen-thinning and markov algorithm

Co-authored-by: S1ngS1ng <liuxing0514@gmail.com>
2021-01-08 11:59:18 -07:00
Kai-Chin Huang a1928ba272
Update the return value of values method in create a set class challenge (#40450)
* fix #40443

* Fix the solution add method
2020-12-15 18:15:33 -07:00
Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
ngschaider 6c5304980d
fix(learn): type checking and additional test for isBalanced binary search tree (#40323)
* Update find-the-minimum-and-maximum-height-of-a-binary-search-tree.md

* fixed binary search tree values for balanced tree test

* Apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2020-11-26 22:33:45 -06:00
Randell Dawson b47487b8b2
fix(learn): Change Node project descriptions to all use same template (#40266)
* fix/change-node-project-descriptions-to-all-use-same-template

* fix: use correct boilerplate

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: add url to link text

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: add _blank for target attribute

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: add missing single quote

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: remove extra lines

* fix: improved wording of description

Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>

* fix: move sentence to previous paragraph

Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>

* fix: move sentence to previous paragraph

* fix: move sentence to previous paragraph

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-11-20 12:02:31 -08:00
Farhan Ullah 9ba94e38b4
fix(learn): `isSorted` returning true on empty arrays which passes the test (#40192)
* bug-fix: isSorted returning true on empty arrays

* sorted order test improvements
2020-11-20 09:51:59 -08:00
Randell Dawson 2c9a900353
fix: added more values to list to improve tests (#40256) 2020-11-18 09:38:26 +00:00
Ty Mick f2236983a2
Strengthen test for reassigning node reference (#40133) 2020-11-04 09:46:18 -08:00
Ty Mick 5f956e9a16
Strengthen isBinarySearchTree test (#39982) 2020-10-26 13:30:46 -05:00
Adrian Muntean 0ae1df30c7
fix: add info for problem 54 - project Euler (#40057)
* fix: add info for problem 54 - project Euler

* update text
2020-10-22 11:59:49 -07:00
sreekumar menon dec4b2180f
Scalar addition issue on Element-wise operations (#40013)
* Scalar addition issue on Element-wise operations

* remove chinese from PR

Co-authored-by: Sreekumar Menon <sreekumar@roofstock.com>
2020-10-19 11:29:23 -07:00
Bobby BuffaloBoy 71659b7c94
fix(learn): Date corrected the example description from Sunday, to Friday, in the date-format Rosetta Code Challenge (English) (#39998) 2020-10-17 23:01:18 +02:00
Ke Cleveland 13e7251ed9
fix(learn): Update findXmasSunday function arguments from (2008,2121) to (1970, 2017) to match expected return. (#39996)
Co-authored-by: keiveland <keivelanddev@gmail.com>
2020-10-17 22:46:03 +02:00
Oliver Eyton-Williams 35c4020f4d
fix(curriculum): test typos (#39984) 2020-10-15 14:49:57 -04:00
Ty Mick f6fcb26a9d
fix(learn): strengthen a test in "Data Structures: Remove Elements from a Linked List" (#39977)
* Add an additional test to LinkedList.remove

* Consolidate tests
2020-10-15 17:14:05 +01:00
Oliver Eyton-Williams a71150074d
fix(learn): preserve whitespace in the tool panel (#39973) 2020-10-14 21:40:15 +05:30
Randell Dawson d90f84e968
fix(learn): Change demo urls on various backend projects (#39688)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-10-05 23:41:27 +05:30
Oliver Eyton-Williams 2b9e38a17b
fix: replace .english.md extension with .md 2020-09-29 22:09:04 +02:00
Tom 1f530602ba
fix: nightlife app link (#39727) 2020-09-29 15:55:27 -04:00
Jeremy A Gray 0e3c3e2ff7
fix(learn): avoid conflict with spring forward EST to EDT (#39681)
March 8, 2009 is the weekend of spring forward to EDT in the US.  This change moves the example date and test back one day to add twelve hours to a time on March 6, 2009, resulting in a time on March 7, 2009.
2020-09-29 20:47:26 +05:30
Sky020 a86b220eb7 chore: remove isRequired from curriculum files 2020-09-21 20:51:46 +05:30
Hassaan Pasha 80438cac3e
feat(client, learn): add helper functions for common validation operations (#38605)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-09-17 19:38:01 +05:30
Randell Dawson 876d9f3994
fix(learn): Consolidated comments for Coding Interview Prep challenges - part 2 of 2 (#39576)
* fix: consolidate comments for use with the translation dictionary

* fix: added blank line between comments

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: removed unneeded comment

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-16 01:01:21 +05:30
Randell Dawson 8788ad946b
fix: remove Good luck! comment from challenge seed code (#39575) 2020-09-15 22:27:40 +05:30
Oliver Eyton-Williams bd68b70f3d
Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00
Colin Nielsen 807244c81a
fix: update formatting, add image + solution (#38907)
* fix: update formatting, add image + solution

* fix: change img src and add suggestions

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-03 10:49:51 -05:00
Ty Mick b45e6ecae0
Add previously written methods to challenge seed in "Remove an Element from a Max Heap" (#38834)
* Add previous methods to challenge seed

* fix: add suggested changes

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-03 10:40:23 -05:00
Tom 6ce2db7bb2
feat(learn): add word frequency challenge to rosetta section (#39424)
* feat(learn): add word frequency challenge to rosetta section

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/word-frequency.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/word-frequency.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/word-frequency.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/word-frequency.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/word-frequency.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/word-frequency.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* fix: tests

* fix: revert challenge so it can have multiple solutions

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/word-frequency.english.md

Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-09-03 06:30:57 -07:00
Pyi Theim Kyaw faf426bb40
PR ready fix(learn) (#39208) 2020-08-31 15:31:30 -05:00
Kristofer Koishigawa 8e3f740127
fix: update take home project links (#39444)
* fix: update take home project links and update mentions of Glitch with Repl.it

* fix: clean up text, fix typos, and remove deploy to Heroku text

* fix: update nightlife coordination app description text

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: update GH link text based on suggestion

* fix: update links to the fCC forum

* fix: update nightlife coordination app url

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* fix: change http to https

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-08-31 10:32:22 -07:00
Ty Mick 474ae28d72
Fix number of noun (#38833)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-08-30 22:15:58 -07:00
Joseph Mawa fccc436e23
Fixed test description for Rosetta Code: Euler method challenge. (#39452)
* Update greatest-subsequential-sum.english.md

Added missing closing bracket in test description in the tests section.
Removed variable declared twice in the solution section.

* Update euler-method.english.md

* Update euler-method.english.md

* Update euler-method.english.md

Added parameter description  fixing the suggested changes.

* Update euler-method.english.md

Removed some formatting from the added text.

* Update euler-method.english.md

Moved seed function parameter description to instructions section.
2020-08-25 08:37:10 -07:00
Joseph Mawa fc1200ae2c
Update greatest-subsequential-sum.english.md (#39422)
Added missing closing bracket in test description in the tests section.
Removed variable declared twice in the solution section.
2020-08-19 08:04:47 -07:00
Nicholas Carrigan 4858c2eb0a
Remove extra / from link (#39419) 2020-08-16 18:25:55 -07:00
Oliver Eyton-Williams c40eab94b7 fix(curriculum): add missing .english extensions 2020-08-16 04:45:17 +05:30
Kartik Soneji f813dfff87
fix: Replace Array.prototype.sort and update old isSorted method. (#39360)
* fix: Replace Array.prototype.sort and update old isSorted method.

* fix: Change name of function from 'checkInBuiltSort' to 'checkBuilitInSort'.

* fix: Change name of function from 'checkBuilitInSort' to 'isBuiltInSortUsed'.
2020-08-10 13:31:18 -07:00
Amy Gurski 8996fa7502
fix: rosetta day of week typos (#39380)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-08-08 19:00:29 -07:00
Ty Mick 0642002005
Remove `add` method test (#38824) 2020-08-04 14:37:58 -07:00
Ruchi Kushwaha 41ed64e8d4
fix:regex error in selection sort insertion sort and merge sort (#39230) 2020-08-02 13:17:27 -07:00
Jayesh Patel 908adc2c37
Update Yelp.com documentation API from V2 to V3 (#39344) 2020-07-31 11:39:27 -07:00
Mainak Debnath 92377cf71a
fix(learn) : Changed language and added a test for Project euler problem-2 (#39221)
* Edited wording in a test

* Rearranged the tests

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-07-26 19:09:46 +02:00
Kartik Soneji f844ea3620
fix(learn): Add arguments to test case titles. (#39248) 2020-07-23 23:39:17 -07:00
Kartik Soneji 7a51540127
fix(learn): Add arguments to test case titles. (#39247) 2020-07-23 23:36:37 -07:00
Kartik Soneji df3322eb97
Add descriptive titles for Extensible Prime Generator challenge (#39246)
* fix(learn): Add descriptive titles to tests.

* fix: Add missing word.

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>

* fix: Display expected output to user.

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2020-07-23 23:28:16 -07:00
Bhanu Pratap Singh Rathore fbdba9edb1
feat(interview-prep): Converting and Tranfering Rosetta challenges (#38754)
* feat(interview-prep): Converting and Tranfering Rosetta challenges
2020-07-20 12:02:06 +09:00
Ty Mick aa1acbe68f
Add missing solutions for algorithm challenges (#38858) 2020-07-15 12:03:29 -05:00
Ty Mick cd90da13f0
Disambiguate "Priority Queue" instructions (#38805)
* Disambiguate "Priority Queue" instructions

* Add front() to solution

* Add tests for front() method

* Fix test typo

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-07-15 11:49:56 -05:00
c-logan ca2b97f11e
commit 7/8 Rosetta tokenize (#39213) 2020-07-08 17:21:01 -05:00
Ty Mick 8656556ca2
Standardize indent size in Data Structures challenge seeds (#38803)
* Standardize indent size in "Priority Queue" seed

* Standardize indent size in "Circular Queue" seed

* Standardize indent size

* Standardize indents "Search within a Linked List"

* Standardize indents "Remove Elements from a Linked List by Index"
2020-07-08 16:58:15 -05:00
Ty Mick ff9148ca51
Improve formatting in Max Heap lessons (#38835)
* Improve formatting in max heap lessons

* Switch to HTML ordered lists
2020-07-08 16:54:02 -05:00
Nicholas Carrigan 1e0e54446f
chore: replace forum links (#39139) 2020-06-30 14:21:26 +05:30
Aditya Nagla 1f3fa5f0ed
fix(curriculum): Add default white bg to tree DS image for better view (#39086)
* fix(curriculum): Add bg to tree DS image for better view
2020-06-24 19:20:34 +02:00
Rajat Gupta fd2ca5cf40
Add: forumTopicId for rosetta code (#38855) 2020-06-08 20:07:41 +05:30
Ty Mick 1c0dc04056
Fix false negatives in bubble sort test (#38801) 2020-05-31 08:18:12 -05:00
Ty Mick 3b65bc8191
fix(learn): typo in "Priority Queue" description (#38804) 2020-05-28 12:37:12 +05:30
Ty Mick 0bbbd16aa9
Clarify ambiguous instructions in "Stack Class" (#38802) 2020-05-27 18:14:15 -05:00
Mrugesh Mohapatra 8248d704ce fix: move around new CIP challenges
Move newly added rosetta code challenges
2020-05-27 13:19:15 +05:30
mrugesh 22afc2a0ca feat(learn): python certification projects (#38216)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
2020-05-27 13:19:08 +05:30