diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/9-billion-names-of-god-the-integer.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/9-billion-names-of-god-the-integer.english.md
index dd6ba77260..b8093d3783 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/9-billion-names-of-god-the-integer.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/9-billion-names-of-god-the-integer.english.md
@@ -26,7 +26,7 @@ This can be visualized in the following form:
1 3 3 2 1 1
Where row $n$ corresponds to integer $n$, and each column $C$ in row $m$ from left to right corresponds to the number of names beginning with $C$.
-Optionally note that the sum of the $n$-th row $P(n)$ is the integer partition function.
+Optionally note that the sum of the $n$-th row $P(n)$ is the integer partition function.
## Instructions
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/accumulator-factory.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/accumulator-factory.english.md
index e6d9ffd70b..b731f5308f 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/accumulator-factory.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/accumulator-factory.english.md
@@ -6,7 +6,7 @@ challengeType: 5
## Description
-A problem posed by Paul Graham is that of creating a function that takes a single (numeric) argument and which returns another function that is an accumulator. The returned accumulator function in turn also takes a single numeric argument, and returns the sum of all the numeric values passed in so far to that accumulator (including the initial value passed when the accumulator was created).
+A problem posed by Paul Graham is that of creating a function that takes a single (numeric) argument and which returns another function that is an accumulator. The returned accumulator function in turn also takes a single numeric argument, and returns the sum of all the numeric values passed in so far to that accumulator (including the initial value passed when the accumulator was created).
## Instructions
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/align-columns.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/align-columns.english.md
index 0fdcc89528..a78785562f 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/align-columns.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/align-columns.english.md
@@ -24,15 +24,15 @@ Further,$allow$for$each$word$in$a$column$to$be$either$left$
justified,$right$justified
or$center$justified$within$its$column.
-Note that:
-
+Note that:
+
The example input texts lines may, or may not, have trailing dollar characters.
All columns should share the same alignment.
Consecutive space characters produced adjacent to the end of lines are insignificant for the purposes of the task.
Output text will be viewed in a mono-spaced font on a plain text editor or basic terminal.
The minimum space between columns should be computed from the text and not hard-coded.
It is not a requirement to add separating characters between or around columns.
-
+
## Tests
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/amicable-pairs.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/amicable-pairs.english.md
index 3ebda95569..b54b1d4e58 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/amicable-pairs.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/amicable-pairs.english.md
@@ -6,9 +6,9 @@ challengeType: 5
## Description
-Two integers $N$ and $M$ are said to be amicable pairs if $N \neq M$ and the sum of the proper divisors of $N$ ($\mathrm{sum}(\mathrm{propDivs}(N))$) $= M$ as well as $\mathrm{sum}(\mathrm{propDivs}(M)) = N$.
-Example:
-1184 and 1210 are an amicable pair, with proper divisors:
+Two integers $N$ and $M$ are said to be amicable pairs if $N \neq M$ and the sum of the proper divisors of $N$ ($\mathrm{sum}(\mathrm{propDivs}(N))$) $= M$ as well as $\mathrm{sum}(\mathrm{propDivs}(M)) = N$.
+Example:
+1184 and 1210 are an amicable pair, with proper divisors:
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-pythagorean-means.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-pythagorean-means.english.md
index 14a8da4c5f..9e62ffc2cc 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-pythagorean-means.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/averages-pythagorean-means.english.md
@@ -6,7 +6,7 @@ challengeType: 5
## Description
-Compute all three of the Pythagorean means of the set of integers 1 through 10 (inclusive).
+Compute all three of the Pythagorean means of the set of integers 1 through 10 (inclusive).
Show that $A(x_1,\ldots,x_n) \geq G(x_1,\ldots,x_n) \geq H(x_1,\ldots,x_n)$ for this set of positive integers.
The most common of the three means, the arithmetic mean, is the sum of the list divided by its length:
@@ -22,7 +22,8 @@ Show that $A(x_1,\ldots,x_n) \geq G(x_1,\ldots,x_n) \geq H(x_1,\ldots,x_n)$
When writing your function, assume the input is an ordered array of all inclusive numbers.
For the answer, please output an object in the following format:
-
+
+```js
{
values: {
Arithmetic: 5.5,
@@ -31,7 +32,8 @@ For the answer, please output an object in the following format:
},
test: 'is A >= G >= H ? yes'
}
-
+```
+
## Tests
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/circles-of-given-radius-through-two-points.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/circles-of-given-radius-through-two-points.english.md
index f1cae5590c..1575e58438 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/circles-of-given-radius-through-two-points.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/circles-of-given-radius-through-two-points.english.md
@@ -34,8 +34,6 @@ Implement a function that takes two points and a radius and returns the two circ
0.1234, 0.9876 0.8765, 0.2345 0.5
0.1234, 0.9876 0.1234, 0.9876 0.0
-Ref:
-Finding the Center of a Circle from 2 Points and Radius from Math forum @ Drexel
## Tests
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/closest-pair-problem.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/closest-pair-problem.english.md
index ebb42af9ce..4ee1cbc96c 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/closest-pair-problem.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/closest-pair-problem.english.md
@@ -6,7 +6,7 @@ challengeType: 5
## Description
-Provide a function to find the closest two points among a set of given points in two dimensions, i.e. to solve the Closest pair of points problem in the planar case.
+Provide a function to find the closest two points among a set of given points in two dimensions, i.e. to solve the Closest pair of points problem in the planar case.
The straightforward solution is a O(n2) algorithm (which we can call brute-force algorithm); the pseudo-code (using indexes) could be simply:
bruteForceClosestPair of P(1), P(2), ... P(N)
@@ -26,7 +26,7 @@ The straightforward solution is a O(n2) algorithm (which we can call
return minDistance, minPoints
endif
-A better algorithm is based on the recursive divide & conquer approach, as explained also at Wikipedia's Closest pair of points problem, which is O(n log n); a pseudo-code could be:
+A better algorithm is based on the recursive divide and conquer approach, as explained also at Wikipedia's Closest pair of points problem, which is O(nlog(n)) a pseudo-code could be:
closestPair of (xP, yP)
where xP is P(1) .. P(N) sorted by x coordinate, and
@@ -63,11 +63,10 @@ A better algorithm is based on the recursive divide & conquer approach, as expla
For the input, expect the argument to be an array of objects (points) with x and y members set to numbers. For the output, return an object containing the key:value pairs for distance and pair (the pair of two closest points).
References and further readings:
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/combinations.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/combinations.english.md
index 071786ff66..669e7ae877 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/combinations.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/combinations.english.md
@@ -6,7 +6,7 @@ challengeType: 5
## Description
-Given non-negative integers m and n, generate all size m combinations of the integers from 0 (zero) to n-1 in sorted order (each combination is sorted and the entire table is sorted).
+Given non-negative integers m and n, generate all size m combinations of the integers from 0 (zero) to n-1 in sorted order (each combination is sorted and the entire table is sorted).
Example:3 comb 5 is:
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/comma-quibbling.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/comma-quibbling.english.md
index bc01ad6080..51e01743c7 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/comma-quibbling.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/comma-quibbling.english.md
@@ -25,7 +25,7 @@ Test your function with the following series of inputs showing your output here
["ABC", "DEF"]
["ABC", "DEF", "G", "H"]
-Note: Assume words are non-empty strings of uppercase characters for this task.
+Note: Assume words are non-empty strings of uppercase characters for this task.
## Tests
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-the-coins.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-the-coins.english.md
index 1a7ab2f067..e7d474112b 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-the-coins.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/count-the-coins.english.md
@@ -27,10 +27,6 @@ There are four types of common coins in an algorithm from MIT Press.
-
## Tests
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cramers-rule.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cramers-rule.english.md
index 7aec360d05..f7d159def0 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cramers-rule.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cramers-rule.english.md
@@ -6,7 +6,7 @@ challengeType: 5
## Description
-In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one column by the vector of right hand sides of the equations.
+In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one column by the vector of right hand sides of the equations.
Given
$\left\{\begin{matrix}a_1x + b_1y + c_1z&= {\color{red}d_1}\\a_2x + b_2y + c_2z&= {\color{red}d_2}\\a_3x + b_3y + c_3z&= {\color{red}d_3}\end{matrix}\right.$
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cumulative-standard-deviation.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cumulative-standard-deviation.english.md
similarity index 100%
rename from curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cumulative-standard-deviation.md
rename to curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cumulative-standard-deviation.english.md
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cusip.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cusip.english.md
similarity index 100%
rename from curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cusip.md
rename to curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cusip.english.md
diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.english.md
similarity index 96%
rename from curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.md
rename to curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.english.md
index 978362613e..8f7a66b463 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.english.md
@@ -8,7 +8,7 @@ challengeType: 5
A given rectangle is made from m × n squares. If m and n are not both odd, then it is possible to cut a path through the rectangle along the square edges such that the rectangle splits into two connected pieces with the same shape (after rotating one of the pieces by 180°). All such paths for 2 × 2 and 4 × 3 rectangles are shown below.