Skip to content

Commit 16adf4e

Browse files
authored
Synced docs for Flatten-array and Go-Counting. (#3723)
1 parent 6ce2795 commit 16adf4e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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: 3 additions & 3 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).
@@ -25,7 +25,7 @@ Empty spaces represent empty intersections.
2525

2626
To be more precise an empty intersection is part of a player's territory if all of its neighbors are either stones of that player or empty intersections that are part of that player's territory.
2727

28-
For more information see [wikipedia][go-wikipedia] or [Sensei's Library][go-sensei].
28+
For more information see [Wikipedia][go-wikipedia] or [Sensei's Library][go-sensei].
2929

3030
[go-wikipedia]: https://en.wikipedia.org/wiki/Go_%28game%29
3131
[go-sensei]: https://senseis.xmp.net/

0 commit comments

Comments
 (0)