* 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>
* fix(Curriculum): update examples on how to set key-value pairs
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/add-key-value-pairs-to-javascript-objects.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/add-key-value-pairs-to-javascript-objects.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update add-key-value-pairs-to-javascript-objects.english.md
* Update add-key-value-pairs-to-javascript-objects.english.md
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* changed lesson to match behaviour
* Update wording for debugging
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update wording from suggestion
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* all suggestions with note
* fix: replaced code tags with backticks for markdown
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Ashraf Nazar <ashraf.caspian@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Fix pig latin challenge description
Added statement for beginning with consonants and if a vowel does not begin with a vowel.
* fix: update description/instructions
* fix: removed extra line break
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: removed extra line break
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* newlines in Authentication with Socket.IO, test 3
Both my original formatting and glitch's "format this file" button add a newline between "io.use(" and "passport.authorize"
".+" catches one or more of anything that isn't a newline.
"[^]+" catches one or more of anything including newlines.
This change updates the test accordingly so people who use glitch's formatting don't get left searching for assistance
* less permissive match to prevent shenanigans
Won't work with comments still.
* fix my own silliness
* fix: remove example code from challenge seed
* fix: remove declaration from solution
* fix: added sum variable back in
* fix: reverted description back to original version
* fix: added examples to description section
* fix: added complete sentence
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: corrected typo
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* fix: reverted to original desc with formatted code
* fix: removed unnecessary code example from description section
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: failiing test on iterate through array with for loop
* fix: changed to Only change this line
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Manish Giri <manish.giri.me@gmail.com>
Co-authored-by: moT01 <tmondloch01@gmail.com>
* Stronger test cases for testing objects for properties
Change function signature to take in a custom object to be tested
* YML formatting mistake
* Yaml no space in string
* Small one more fix - most likely final
* REmove double space in return
* Update instruction Section
* add: solution to project euler 22 md file
* Copied the array instead of using it directly
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: strip-comments-from-css
* fix: added challenge referenced in issue
* fix: added call to function removeCssComments
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: consolidate/remove comments
* fix: remove => from comment
* fix: reverted changes to add same changes to another PR
* fix: removed 'the' from sentence
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: removed 'the' from the sentence
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: improve Project Euler descriptions and test case
Improve formatting of Project Euler test descriptions. Also add poker hands array and new test case for problem 54
* feat: add typeof tests and gave functions proper names for first 100 challenges
* fix: continue fixing test descriptions and adding "before test" sections
* fix: address review comments
* fix: adjust grids in 18 and 67 and fix some text that reference files rather than the given arrays
* fix: implement bug fixes and improvements from review
* fix: remove console.log statements from seed and solution
Related to PR #38040
This PR is an attempt to consolidate/remove as many comments in the challenge seed code in the Responsive Web Design certification challenges, to be able to create a small translation lookup object for translating the English comments to other languages.
* Added meaning of ones in the matrix
* Apply suggestions from code review
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: add slash to avoid markdown lint error
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* add: solution to project euler problem 20
* Update curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-20-factorial-digit-sum.english.md
Accidentally added last line. Calling function is unnecessary in solution.
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* right place for starting braces
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
* moved starting brace to previous line.
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Manish Giri <manish.giri.me@gmail.com>
* fix: added test to validate new array is returned
* fix: changed text to reflect changed test
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>