fix(curriculum): clean-up Project Euler 221-240 (#42839)

* fix: clean-up Project Euler 221-240

* fix: corrections from review

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

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
gikf
2021-07-15 14:26:34 +02:00
committed by GitHub
parent 30c22d1fb3
commit a9418a1fe9
20 changed files with 233 additions and 173 deletions

View File

@ -10,14 +10,14 @@ dashedName: problem-222-sphere-packing
What is the length of the shortest pipe, of internal radius 50mm, that can fully contain 21 balls of radii 30mm, 31mm, ..., 50mm?
Give your answer in micrometres (10-6 m) rounded to the nearest integer.
Give your answer in micrometres (${10}^{-6}$ m) rounded to the nearest integer.
# --hints--
`euler222()` should return 1590933.
`spherePacking()` should return `1590933`.
```js
assert.strictEqual(euler222(), 1590933);
assert.strictEqual(spherePacking(), 1590933);
```
# --seed--
@ -25,12 +25,12 @@ assert.strictEqual(euler222(), 1590933);
## --seed-contents--
```js
function euler222() {
function spherePacking() {
return true;
}
euler222();
spherePacking();
```
# --solutions--