Skip to content

Commit 70cbca8

Browse files
committed
fix: implement suggestions from code review
1 parent b00e1df commit 70cbca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/relative-distance/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Your task is to determine the degree of separation between two individuals in a family tree.
44

55
- You will be given an input, with all parent names and their children.
6-
- Each name is unique, a child _can_ have one or more parents.
6+
- Each name is unique, a child _can_ have one or two parents.
77
- The degree of separation is defined as the shortest number of connections from one person to another.
88
- If two individuals are not connected, return a value that represents "no relation."
99
Please see the test cases for the actual implementation.
@@ -28,7 +28,7 @@ Given the following family tree:
2828
```
2929

3030
The degree of separation between Tariq and Uma is 3 (Tariq → Helena → Isla → Uma).
31-
The degree of separation between Isla and [Kevin][six-bacons] is not defined, as there is no visible relationship in the given data.
31+
There's no known relationship between Isla and [Kevin][six-bacons], as there is no connection in the given data.
3232
The degree of separation between Uma and Isla is 1.
3333

3434
[six-bacons]: https://en.m.wikipedia.org/wiki/Six_Degrees_of_Kevin_Bacon

0 commit comments

Comments
 (0)