Skip to content

Commit 9aac988

Browse files
Sync outdated practice exercise docs and metadata (#2760)
1 parent b80848f commit 9aac988

File tree

11 files changed

+12
-17
lines changed

11 files changed

+12
-17
lines changed

exercises/practice/alphametics/.docs/instructions.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Instructions
22

3-
Write a function to solve alphametics puzzles.
3+
Given an alphametics puzzle, find the correct solution.
44

55
[Alphametics][alphametics] is a puzzle where letters in words are replaced with numbers.
66

@@ -26,6 +26,4 @@ This is correct because every letter is replaced by a different number and the w
2626

2727
Each letter must represent a different digit, and the leading digit of a multi-digit number must not be zero.
2828

29-
Write a function to solve alphametics puzzles.
30-
3129
[alphametics]: https://en.wikipedia.org/wiki/Alphametics

exercises/practice/alphametics/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
"build.gradle"
3333
]
3434
},
35-
"blurb": "Write a function to solve alphametics puzzles."
35+
"blurb": "Given an alphametics puzzle, find the correct solution."
3636
}

exercises/practice/darts/.docs/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Instructions
22

3-
Write a function that returns the earned points in a single toss of a Darts game.
3+
Calculate the points scored in a single toss of a Darts game.
44

55
[Darts][darts] is a game where players throw darts at a [target][darts-target].
66

@@ -16,7 +16,7 @@ In our particular instance of the game, the target rewards 4 different amounts o
1616
The outer circle has a radius of 10 units (this is equivalent to the total radius for the entire target), the middle circle a radius of 5 units, and the inner circle a radius of 1.
1717
Of course, they are all centered at the same point — that is, the circles are [concentric][] defined by the coordinates (0, 0).
1818

19-
Write a function that given a point in the target (defined by its [Cartesian coordinates][cartesian-coordinates] `x` and `y`, where `x` and `y` are [real][real-numbers]), returns the correct amount earned by a dart landing at that point.
19+
Given a point in the target (defined by its [Cartesian coordinates][cartesian-coordinates] `x` and `y`, where `x` and `y` are [real][real-numbers]), calculate the correct score earned by a dart landing at that point.
2020

2121
## Credit
2222

exercises/practice/darts/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
"build.gradle"
2828
]
2929
},
30-
"blurb": "Write a function that returns the earned points in a single toss of a Darts game.",
30+
"blurb": "Calculate the points scored in a single toss of a Darts game.",
3131
"source": "Inspired by an exercise created by a professor Della Paolera in Argentina"
3232
}

exercises/practice/flatten-array/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Take a nested list and return a single flattened list with all values except nil/null.
44

5-
The challenge is to write a function that accepts an arbitrarily-deep nested list-like structure and returns a flattened structure without any nil/null values.
5+
The challenge is to take an arbitrarily-deep nested list-like structure and produce a flattened structure without any nil/null values.
66

77
For example:
88

exercises/practice/go-counting/.docs/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Count the scored points on a Go board.
55
In the game of go (also known as baduk, igo, cờ vây and wéiqí) points are gained by completely encircling empty intersections with your stones.
66
The encircled intersections of a player are known as its territory.
77

8-
Write a function that determines the territory of each player.
8+
Calculate the territory of each player.
99
You may assume that any stones that have been stranded in enemy territory have already been taken off the board.
1010

11-
Write a function that determines the territory which includes a specified coordinate.
11+
Determine the territory which includes a specified coordinate.
1212

1313
Multiple empty intersections may be encircled at once and for encircling only horizontal and vertical neighbors count.
1414
In the following diagram the stones which matter are marked "O" and the stones that don't are marked "I" (ignored).

exercises/practice/meetup/.meta/config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@
4141
]
4242
},
4343
"blurb": "Calculate the date of meetups.",
44-
"source": "Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month",
45-
"source_url": "http://www.copiousfreetime.org/"
44+
"source": "Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month"
4645
}

exercises/practice/parallel-letter-frequency/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Count the frequency of letters in texts using parallel computation.
44

55
Parallelism is about doing things in parallel that can also be done sequentially.
66
A common example is counting the frequency of letters.
7-
Create a function that returns the total frequency of each letter in a list of texts and that employs parallelism.
7+
Employ parallelism to calculate the total frequency of each letter in a list of texts.

exercises/practice/raindrops/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"build.gradle"
3636
]
3737
},
38-
"blurb": "Convert a number to a string, the content of which depends on the number's factors.",
38+
"blurb": "Convert a number into its corresponding raindrop sounds - Pling, Plang and Plong.",
3939
"source": "A variation on FizzBuzz, a famous technical interview question that is intended to weed out potential candidates. That question is itself derived from Fizz Buzz, a popular children's game for teaching division.",
4040
"source_url": "https://en.wikipedia.org/wiki/Fizz_buzz"
4141
}

exercises/practice/say/.docs/instructions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ Implement breaking a number up into chunks of thousands.
3030

3131
So `1234567890` should yield a list like 1, 234, 567, and 890, while the far simpler `1000` should yield just 1 and 0.
3232

33-
The program must also report any values that are out of range.
34-
3533
## Step 3
3634

3735
Now handle inserting the appropriate scale word between those chunks.

exercises/practice/two-bucket/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ There are some rules that your solution must follow:
1111
b) the second bucket is full
1212
2. Emptying a bucket and doing nothing to the other.
1313
3. Filling a bucket and doing nothing to the other.
14-
- After an action, you may not arrive at a state where the starting bucket is empty and the other bucket is full.
14+
- After an action, you may not arrive at a state where the initial starting bucket is empty and the other bucket is full.
1515

1616
Your program will take as input:
1717

0 commit comments

Comments
 (0)