* Clarify definition of "symmetric difference"
* Add definition of binary operation
* Adjust wording in "Symmetric Difference"
* Improve preposition use
* Move instructions to the Instructions section
Co-authored-by: Eric Leung <eric@erictleung.com>
* Moved code tag to include new keyword
The new keyword hasn't been explained in the curriculum yet, so have moved the <code> tag to include the new keyword to give a prompt that it needs to be used in the solution.
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-arrow-functions-to-write-concise-anonymous-functions.english.md
Added comma.
Co-authored-by: Lasse Jørgensen <28780271+lasjorg@users.noreply.github.com>
* allow use of g flag
added functionality of tests to allow for the use of g flag by resetting the lastIndex as per example in https://github.com/freeCodeCamp/freeCodeCamp/pull/37941.
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Improve formatting and clarity in "Subset"
* Change method name to isSubsetOf
Co-authored-by: Eric Leung <eric@erictleung.com>
* Change method name to isSubsetOf
Co-authored-by: Eric Leung <eric@erictleung.com>
* Fix method name in tests
* Fix variable name aIsSubsetOfB
* Fix method name in solution
Co-authored-by: Eric Leung <eric@erictleung.com>
* fix: use example in modifying an object within a nested object exercise to explain how to do so
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object.english.md
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object.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>
* Fixed a Typo in Eulers Problem 70
Line 15 should say "Find the value of <var>n</var>, 1 < <var>n</var> < 10**7, for which φ(<var>n</var>) is a permutation of <var>n</var> and the ratio <var>n</var>/φ(<var>n</var>) produces a minimum." instead of Find the value of <var>n</var>, 1 < <var>n</var> < 107, for which φ(<var>n</var>) is a permutation of <var>n</var> and the ratio <var>n</var>/φ(<var>n</var>) produces a minimum.
* Updated the Markdown
Fixes the markdown to display proper superscript rather than just using ** to denote a superscript
* changes to bfs instructions
* added description on visual representation
* Added to the animation description
* Added information about stacks in the description
* Edited description for clarity
* Edited small details for grammar and clarity
* Apply suggested wording and typo fixes
Co-authored-by: Eric Leung <eric@erictleung.com>
* Add typo fixes to BFS challenge
Co-authored-by: Kyla Yujiri <27860923+kylayujiri@users.noreply.github.com>
Co-authored-by: Eric Leung <eric@erictleung.com>
* add: test to return early pattern
Currently no test for a = 0 or b = 0. This results in if(a<=0 || b<= 0) also being a valid solution
* fix: typo in test text
* fix: update return early pattern test
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Fixed typo "in the left" should be "at the left"
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update use-breadth-first-search-in-a-binary-search-tree.english.md
* Update curriculum/challenges/english/08-coding-interview-prep/data-structures/use-breadth-first-search-in-a-binary-search-tree.english.md
Committed suggested changes
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* add debugging function to solution
Ensured seed code and solution matched-up.
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* fix(curriculum): replace comments with empty strings in merge-sort challenge
* Update curriculum/challenges/english/08-coding-interview-prep/algorithms/implement-merge-sort.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* Differentiate between test & match
I noticed that nowhere was there a mention that .match() and .test() pass in and are applied to opposite objects. This would've saved me a few minutes of searching during later challenges that assume this is understood.
* Add in .match & .test difference after example
* fix: add spaces to stop lint errors
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Adding a test in problem-14-Longest-collatz-sequence.english.md
Adding a test in problem-14-Longest-collatz-sequence.english.md
* fix(curriculum): use more efficient algorithm
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix(Curriculum): ensure code that includes and is not equal to the flat or flatMap methods do not fail the test suite
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update steamroller.english.md
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>