Skip to content

Commit b4391bc

Browse files
authored
Fixed broken linkes in hints file. (#3773)
1 parent b061dd0 commit b4391bc

File tree

1 file changed

+16
-16
lines changed
  • exercises/concept/cater-waiter/.docs

1 file changed

+16
-16
lines changed

exercises/concept/cater-waiter/.docs/hints.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,52 +10,52 @@
1010

1111
## 1. Clean up Dish Ingredients
1212

13-
- The `set()` constructor can take any [iterable][iterable] as an argument. [lists:python/lists](https://exercism.lol/tracks/python/concepts/lists) are iterable.
14-
- Remember: [tuples:python/tuples](https://exercism.lol/tracks/python/concepts/tuples) can be formed using `(<element_1>, <element_2>)` or via the `tuple()` constructor.
13+
- The `set()` constructor can take any [iterable][iterable] as an argument. [concept: lists](/tracks/python/concepts/lists) are iterable.
14+
- Remember: [concept: tuples](/tracks/python/concepts/tuples) can be formed using `(<element_1>, <element_2>)` or via the `tuple()` constructor.
1515

1616
## 2. Cocktails and Mocktails
1717

1818
- A `set` is _disjoint_ from another set if the two sets share no elements.
19-
- The `set()` constructor can take any [iterable][iterable] as an argument. [lists:python/lists](https://exercism.lol/tracks/python/concepts/lists) are iterable.
20-
- In Python, [strings:python/strings](https://exercism.lol/tracks/python/concepts/strings) can be concatenated with the `+` sign.
19+
- The `set()` constructor can take any [iterable][iterable] as an argument. [concept: lists](/tracks/python/concepts/lists) are iterable.
20+
- In Python, [concept: strings](/tracks/python/concepts/strings) can be concatenated with the `+` sign.
2121

2222
## 3. Categorize Dishes
2323

24-
- Using [loops:python/loops](https://exercism.lol/tracks/python/concepts/loops) to iterate through the available meal categories might be useful here.
24+
- Using [concept: loops](/tracks/python/concepts/loops) to iterate through the available meal categories might be useful here.
2525
- If all the elements of `<set_1>` are contained within `<set_2>`, then `<set_1> <= <set_2>`.
2626
- The method equivalent of `<=` is `<set>.issubset(<iterable>)`
27-
- [tuples:python/tuples](https://exercism.lol/tracks/python/concepts/tuples) can contain any data type, including other tuples. Tuples can be formed using `(<element_1>, <element_2>)` or via the `tuple()` constructor.
28-
- Elements within [tuples:python/tuples](https://exercism.lol/tracks/python/concepts/tuples) can be accessed from the left using a 0-based index number, or from the right using a -1-based index number.
29-
- The `set()` constructor can take any [iterable][iterable] as an argument. [lists:python/lists](https://exercism.lol/tracks/python/concepts/lists) are iterable.
30-
- [strings:python/strings](https://exercism.lol/tracks/python/concepts/strings) can be concatenated with the `+` sign.
27+
- [concept: tuples](/tracks/python/concepts/tuples) can contain any data type, including other tuples. Tuples can be formed using `(<element_1>, <element_2>)` or via the `tuple()` constructor.
28+
- Elements within [concept: tuples](/tracks/python/concepts/tuples) can be accessed from the left using a 0-based index number, or from the right using a -1-based index number.
29+
- The `set()` constructor can take any [iterable][iterable] as an argument. [concept: lists](/tracks/python/concepts/lists) are iterable.
30+
- [concept: strings](/tracks/python/concepts/strings) can be concatenated with the `+` sign.
3131

3232
## 4. Label Allergens and Restricted Foods
3333

3434
- A set _intersection_ are the elements shared between `<set_1>` and `<set_2>`.
3535
- The set method equivalent of `&` is `<set>.intersection(<iterable>)`
36-
- Elements within [tuples:python/tuples](https://exercism.lol/tracks/python/concepts/tuples) can be accessed from the left using a 0-based index number, or from the right using a -1-based index number.
37-
- The `set()` constructor can take any [iterable][iterable] as an argument. [lists:python/lists](https://exercism.lol/tracks/python/concepts/lists) are iterable.
38-
- [tuples:python/tuples](https://exercism.lol/tracks/python/concepts/tuples) can be formed using `(<element_1>, <element_2>)` or via the `tuple()` constructor.
36+
- Elements within [concept: tuples](/tracks/python/concepts/tuples) can be accessed from the left using a 0-based index number, or from the right using a -1-based index number.
37+
- The `set()` constructor can take any [iterable][iterable] as an argument. [concept: lists](/tracks/python/concepts/lists) are iterable.
38+
- [concept: tuples](/tracks/python/concepts/tuples) can be formed using `(<element_1>, <element_2>)` or via the `tuple()` constructor.
3939

4040
## 5. Compile a "Master List" of Ingredients
4141

4242
- A set _union_ is where `<set_1`> and `<set_2>` are combined into a single `set`
4343
- The set method equivalent of `|` is `<set>.union(<iterable>)`
44-
- Using [loops:python/loops](https://exercism.lol/tracks/python/concepts/loops) to iterate through the various dishes might be useful here.
44+
- Using [concept: loops](/tracks/python/concepts/loops) to iterate through the various dishes might be useful here.
4545

4646
## 6. Pull out Appetizers for Passing on Trays
4747

4848
- A set _difference_ is where the elements of `<set_2>` are removed from `<set_1>`, e.g. `<set_1> - <set_2>`.
4949
- The set method equivalent of `-` is `<set>.difference(<iterable>)`
50-
- The `set()` constructor can take any [iterable][iterable] as an argument. [lists:python/lists](https://exercism.lol/tracks/python/concepts/lists) are iterable.
51-
- The [list:python/lists](https://exercism.lol/tracks/python/concepts/lists) constructor can take any [iterable][iterable] as an argument. Sets are iterable.
50+
- The `set()` constructor can take any [iterable][iterable] as an argument. [concept: lists](/tracks/python/concepts/lists) are iterable.
51+
- The [concept: list](/tracks/python/concepts/lists) constructor can take any [iterable][iterable] as an argument. Sets are iterable.
5252

5353
## 7. Find Ingredients Used in Only One Recipe
5454

5555
- A set _symmetric difference_ is where elements appear in `<set_1>` or `<set_2>`, but not **_both_** sets.
5656
- A set _symmetric difference_ is the same as subtracting the `set` _intersection_ from the `set` _union_, e.g. `(<set_1> | <set_2>) - (<set_1> & <set_2>)`
5757
- A _symmetric difference_ of more than two `sets` will include elements that are repeated more than two times across the input `sets`. To remove these cross-set repeated elements, the _intersections_ between set pairs needs to be subtracted from the symmetric difference.
58-
- Using [loops:python/loops](https://exercism.lol/tracks/python/concepts/loops) to iterate through the various dishes might be useful here.
58+
- Using [concept: loops](/tracks/python/concepts/loops) to iterate through the various dishes might be useful here.
5959

6060

6161
[hashable]: https://docs.python.org/3.7/glossary.html#term-hashable

0 commit comments

Comments
 (0)