chore: fix typos in spelling (#38100)
* spelling: accidentally * spelling: announce * spelling: assembly * spelling: avoid * spelling: backend * spelling: because * spelling: claimed * spelling: candidate * spelling: certification * spelling: certified * spelling: challenge * spelling: circular * spelling: it isn't * spelling: coins * spelling: combination * spelling: compliant * spelling: containers * spelling: concise * spelling: deprecated * spelling: development * spelling: donor * spelling: error * spelling: everything * spelling: exceed * spelling: exist * spelling: falsy * spelling: faulty * spelling: forward * spelling: handle * spelling: indicates * spelling: initial * spelling: integers * spelling: issealed * spelling: javascript * spelling: length * spelling: maximum * spelling: minimum * spelling: mutable * spelling: notifier * spelling: coordinate * spelling: passport * spelling: perform * spelling: permuter * spelling: placeholder * spelling: progressively * spelling: semantic * spelling: submission * spelling: submit * spelling: translations * spelling: turquoise * spelling: visualization * spelling: without * spelling: registration * spelling: representation
This commit is contained in:
		| @@ -37,7 +37,7 @@ Implement a function to determine how many ways there are to make change for a d | ||||
| tests: | ||||
|   - text: <code>countCoins</code> should be a function. | ||||
|     testString: assert(typeof countCoins === 'function'); | ||||
|   - text: <code>countCoints()</code> should return 242. | ||||
|   - text: <code>countCoins()</code> should return 242. | ||||
|     testString: assert.equal(countCoins(), 242); | ||||
|  | ||||
| ``` | ||||
|   | ||||
| @@ -28,13 +28,13 @@ tests: | ||||
|     testString: assert(typeof add12Hours('January 17 2017 11:43am EST') === 'string'); | ||||
|   - text: <code>add12Hours("January 17 2017 11:43am EST")</code> should return <code>"January 17 2017 11:43pm EST"</code> | ||||
|     testString: assert(add12Hours('January 17 2017 11:43am EST') === 'January 17 2017 11:43pm EST'); | ||||
|   - text: Should handel day change. <code>add12Hours("March 7 2009 7:30pm EST")</code> should return <code>"March 8 2009 7:30am EST"</code> | ||||
|   - text: Should handle day change. <code>add12Hours("March 7 2009 7:30pm EST")</code> should return <code>"March 8 2009 7:30am EST"</code> | ||||
|     testString: assert(add12Hours('March 7 2009 7:30pm EST') === 'March 8 2009 7:30am EST'); | ||||
|   - text: Should handel month change in a leap years. <code>add12Hours("February 29 2004 9:15pm EST")</code> should return <code>"March 1 2004 9:15am EST"</code> | ||||
|   - text: Should handle month change in a leap years. <code>add12Hours("February 29 2004 9:15pm EST")</code> should return <code>"March 1 2004 9:15am EST"</code> | ||||
|     testString: assert(add12Hours('February 29 2004 9:15pm EST') === 'March 1 2004 9:15am EST'); | ||||
|   - text: Should handel month change in a common years. <code>add12Hours("February 28 1999 3:15pm EST")</code> should return <code>"March 1 1999 3:15am EST"</code> | ||||
|   - text: Should handle month change in a common years. <code>add12Hours("February 28 1999 3:15pm EST")</code> should return <code>"March 1 1999 3:15am EST"</code> | ||||
|     testString: assert(add12Hours('February 28 1999 3:15pm EST') === 'March 1 1999 3:15am EST'); | ||||
|   - text: Should handel year change. <code>add12Hours("December 31 2020 1:45pm EST")</code> should return <code>"January 1 2021 1:45am EST"</code> | ||||
|   - text: Should handle year change. <code>add12Hours("December 31 2020 1:45pm EST")</code> should return <code>"January 1 2021 1:45am EST"</code> | ||||
|     testString: assert(add12Hours('December 31 2020 1:45pm EST') === 'January 1 2021 1:45am EST'); | ||||
|  | ||||
| ``` | ||||
|   | ||||
| @@ -10,7 +10,7 @@ forumTopicId: 302273 | ||||
| Write a generalized version of <a href="https://rosettacode.org/wiki/FizzBuzz" target="_blank">FizzBuzz</a> that works for any list of factors, along with their words. | ||||
| This is basically a "fizzbuzz" implementation where the rules of the game are supplied to the user. Create a function to implement this. The function should take two parameters. | ||||
| The first will be an array with the FizzBuzz rules. For example: <code>[ [3, "Fizz"] , [5, "Buzz"] ]</code>. | ||||
| This indcates that <code>Fizz</code> should be printed if the number is a multiple of 3 and <code>Buzz</code> if it is a multiple of 5. If it is a multiple of both then the strings should be concatenated in the order specified in the array. In this case, <code>FizzBuzz</code> if the number is a multiple of 3 and 5. | ||||
| This indicates that <code>Fizz</code> should be printed if the number is a multiple of 3 and <code>Buzz</code> if it is a multiple of 5. If it is a multiple of both then the strings should be concatenated in the order specified in the array. In this case, <code>FizzBuzz</code> if the number is a multiple of 3 and 5. | ||||
| The second parameter is the number for which the function should return a string as stated above. | ||||
| </section> | ||||
|  | ||||
|   | ||||
| @@ -17,7 +17,7 @@ If you already have  <i>gcd</i>  for <a href="https://rosettacode.org/wiki/great | ||||
| ## Instructions | ||||
| <section id='instructions'> | ||||
|  | ||||
| Compute the least common multiple of an array of intergers. | ||||
| Compute the least common multiple of an array of integers. | ||||
| Given  <i>m</i>  and  <i>n</i>,  the least common multiple is the smallest positive integer that has both  <i>m</i>  and  <i>n</i>  as factors. | ||||
| </section> | ||||
|  | ||||
|   | ||||
| @@ -32,8 +32,8 @@ tests: | ||||
|     testString: assert.deepEqual(lengthSorter(["Mine", "is", "going", "great"]), ["going", "great", "Mine", "is"], '<code>lengthSorter(["Mine", "is", "going", "great"])</code> should return <code>["going", "great", "Mine", "is"]</code>.'); | ||||
|   - text: <code>lengthSorter(["Have", "fun", "sorting", "!!"])</code> should return <code>["sorting", "Have", "fun", "!!"]</code>. | ||||
|     testString: assert.deepEqual(lengthSorter(["Have", "fun", "sorting", "!!"]), ["sorting", "Have", "fun", "!!"], '<code>lengthSorter(["Have", "fun", "sorting", "!!"])</code> should return <code>["sorting", "Have", "fun", "!!"]</code>.'); | ||||
|   - text: <code>lengthSorter(["Everthing", "is", "good", "!!"])</code> should return <code>["Everthing", "good", "!!", "is"]</code>. | ||||
|     testString: assert.deepEqual(lengthSorter(["Everthing", "is", "good", "!!"]), ["Everthing", "good", "!!", "is"], '<code>lengthSorter(["Everthing", "is", "good", "!!"])</code> should return <code>["Everthing", "good", "!!", "is"]</code>.'); | ||||
|   - text: <code>lengthSorter(["Everything", "is", "good", "!!"])</code> should return <code>["Everything", "good", "!!", "is"]</code>. | ||||
|     testString: assert.deepEqual(lengthSorter(["Everything", "is", "good", "!!"]), ["Everything", "good", "!!", "is"], '<code>lengthSorter(["Everything", "is", "good", "!!"])</code> should return <code>["Everything", "good", "!!", "is"]</code>.'); | ||||
| ``` | ||||
|  | ||||
| </section> | ||||
|   | ||||
| @@ -7,7 +7,7 @@ forumTopicId: 302318 | ||||
|  | ||||
| ## Description | ||||
| <section id='description'> | ||||
| Write a function to permform <a href="https://en.wikipedia.org/wiki/Stooge sort" target="_blank">Stooge Sort</a> on an array of integers. The function should return a sorted array. | ||||
| Write a function to perform <a href="https://en.wikipedia.org/wiki/Stooge sort" target="_blank">Stooge Sort</a> on an array of integers. The function should return a sorted array. | ||||
| The Stooge Sort algorithm is as follows: | ||||
| <pre> | ||||
| <b>algorithm</b> stoogesort(<b>array</b> L, i = 0, j = <b>length</b>(L)-1) | ||||
|   | ||||
| @@ -67,7 +67,7 @@ const text = | ||||
| `Wrap text using a more sophisticated algorithm such as the Knuth and Plass TeX algorithm. | ||||
| If your language provides this, you get easy extra credit, | ||||
| but you ''must reference documentation'' indicating that the algorithm | ||||
| is something better than a simple minimimum length algorithm.`; | ||||
| is something better than a simple minimum length algorithm.`; | ||||
|  | ||||
| const wrapped80 = wrap(text, 80); | ||||
| const wrapped42 = wrap(text, 42); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user