From 3f2de6a994b687cbd8e6b4db743ae4bdb0008786 Mon Sep 17 00:00:00 2001 From: Michael Kramer Date: Sun, 18 May 2025 10:26:03 +0200 Subject: [PATCH 1/3] Link horizontally between siblings, no arrows --- exercises/relative-distance/instructions.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/exercises/relative-distance/instructions.md b/exercises/relative-distance/instructions.md index 91dd5762b..ae90c642d 100644 --- a/exercises/relative-distance/instructions.md +++ b/exercises/relative-distance/instructions.md @@ -13,16 +13,15 @@ Your task is to determine the degree of separation between two individuals in a Given the following family tree: ```text - ┌──────────┐ ┌──────────┐ ┌───────────┐ - │ Helena │ │ Erdős │ │ Shusaku │ - └───┬───┬──┘ └─────┬────┘ └──────┬────┘ - ┌───┘ └───────┐ └──────┬──────┘ - ▼ ▼ ▼ -┌──────────┐ ┌────────┐ ┌──────────┐ -│ Isla │ │ Tariq │ │ Kevin │ -└────┬─────┘ └────┬───┘ └──────────┘ - ▼ ▼ -┌─────────┐ ┌────────┐ + ┌──────────┐ ┌──────────┐ ┌───────────┐ + │ Helena │ │ Erdős ├─────┤ Shusaku │ + └───┬───┬──┘ └─────┬────┘ └────┬──────┘ + ┌───┘ └───────┐ └───────┬───────┘ +┌─────┴────┐ ┌────┴───┐ ┌─────┴────┐ +│ Isla ├─────┤ Tariq │ │ Kevin │ +└────┬─────┘ └────┬───┘ └──────────┘ + │ │ +┌────┴────┐ ┌────┴───┐ │ Uma │ │ Morphy │ └─────────┘ └────────┘ ``` From 6f53309715d6e800acc7cf1c6479c8ba2712d7c7 Mon Sep 17 00:00:00 2001 From: Michael Kramer Date: Sun, 18 May 2025 10:26:37 +0200 Subject: [PATCH 2/3] Describe why Kevin Bacon is referred --- exercises/relative-distance/instructions.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exercises/relative-distance/instructions.md b/exercises/relative-distance/instructions.md index ae90c642d..14f4c2fdd 100644 --- a/exercises/relative-distance/instructions.md +++ b/exercises/relative-distance/instructions.md @@ -1,6 +1,7 @@ # Instructions Your task is to determine the degree of separation between two individuals in a family tree. +This is similar to the pop culture idea that everyone is [within six degrees of Kevin Bacon][six-bacons]. - You will be given an input, with all parent names and their children. - Each name is unique, a child _can_ have one or two parents. @@ -26,8 +27,8 @@ Given the following family tree: └─────────┘ └────────┘ ``` -The degree of separation between Tariq and Uma is 3 (Tariq → Helena → Isla → Uma). -There's no known relationship between Isla and [Kevin][six-bacons], as there is no connection in the given data. +The degree of separation between Tariq and Uma is 2 (Tariq → Isla → Uma). +There's no known relationship between Isla and Kevin, as there is no connection in the given data. The degree of separation between Uma and Isla is 1. ~~~~exercism/note From 250aafbd54ad0b60e1d0204e3a9e1b348c7141e7 Mon Sep 17 00:00:00 2001 From: Michael Kramer Date: Mon, 19 May 2025 08:48:06 +0200 Subject: [PATCH 3/3] Specific group of people around Kevin Bacon --- exercises/relative-distance/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/relative-distance/instructions.md b/exercises/relative-distance/instructions.md index 14f4c2fdd..9046aee7c 100644 --- a/exercises/relative-distance/instructions.md +++ b/exercises/relative-distance/instructions.md @@ -1,7 +1,7 @@ # Instructions Your task is to determine the degree of separation between two individuals in a family tree. -This is similar to the pop culture idea that everyone is [within six degrees of Kevin Bacon][six-bacons]. +This is similar to the pop culture idea that every Hollywood actor is [within six degrees of Kevin Bacon][six-bacons]. - You will be given an input, with all parent names and their children. - Each name is unique, a child _can_ have one or two parents.