Skip to content

Commit b2bf490

Browse files
committed
add clarification on relationship rules
1 parent bf68526 commit b2bf490

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

exercises/relative-distance/canonical-data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
},
190190
{
191191
"uuid": "46c9fbcb-e464-455f-a718-049ea3c7400a",
192-
"description": "Complex graph, some shortcuts, cross-down and cross-up, cousins several times removed, with unrealted family tree",
192+
"description": "Complex graph, some shortcuts, cross-down and cross-up, cousins several times removed, with unrelated family tree",
193193
"property": "degreeOfSeparation",
194194
"input": {
195195
"familyTree": {

exercises/relative-distance/instructions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,10 @@ The degree of separation between Tariq and Uma is 3 (Tariq → Helena → Isla
3131
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

34+
~~~~exercism/note
35+
Isla and Tariq are siblings and have a separation of 1.
36+
For a genetic relationship analysis, you wouldn't be related to the person that married the brother of your father.
37+
This implementation would report a relationship distance of 2 from you to that person.
38+
~~~~
39+
3440
[six-bacons]: https://en.m.wikipedia.org/wiki/Six_Degrees_of_Kevin_Bacon

0 commit comments

Comments
 (0)