Skip to content

Commit 50e5119

Browse files
authored
anagram.append.return order (#1581)
* Run `configlet sync --metadata` * Run Prettier via `bin/format.sh` * exercises/practice/anagram: add an append with instructions about the order of the return values
1 parent f14a5da commit 50e5119

File tree

15 files changed

+26
-23
lines changed

15 files changed

+26
-23
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Instructions Append
2+
3+
The anagrams can be returned in any order.

exercises/practice/binary-search/.docs/instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Your task is to implement a binary search algorithm.
55
A binary search algorithm finds an item in a list by repeatedly splitting it in half, only keeping the half which contains the item we're looking for.
66
It allows us to quickly narrow down the possible locations of our item until we find it, or until we've eliminated all possible locations.
77

8-
~~~~exercism/caution
8+
```exercism/caution
99
Binary search only works when a list has been sorted.
10-
~~~~
10+
```
1111

1212
The algorithm looks like this:
1313

exercises/practice/crypto-square/.meta/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
"flag.tests.tstyche": false
2828
},
2929
"source": "J Dalbey's Programming Practice problems",
30-
"source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html"
30+
"source_url": "https://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html"
3131
}

exercises/practice/etl/.docs/instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ This needs to be changed to store each individual letter with its score in a one
2222

2323
As part of this change, the team has also decided to change the letters to be lower-case rather than upper-case.
2424

25-
~~~~exercism/note
25+
```exercism/note
2626
If you want to look at how the data was previously structured and how it needs to change, take a look at the examples in the test suite.
27-
~~~~
27+
```

exercises/practice/gigasecond/.docs/introduction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Then we can use metric system prefixes for writing large numbers of seconds in m
1313
- Perhaps you and your family would travel to somewhere exotic for two megaseconds (that's two million seconds).
1414
- And if you and your spouse were married for _a thousand million_ seconds, you would celebrate your one gigasecond anniversary.
1515

16-
~~~~exercism/note
16+
```exercism/note
1717
If we ever colonize Mars or some other planet, measuring time is going to get even messier.
1818
If someone says "year" do they mean a year on Earth or a year on Mars?
1919
2020
The idea for this exercise came from the science fiction novel ["A Deepness in the Sky"][vinge-novel] by author Vernor Vinge.
2121
In it the author uses the metric system as the basis for time measurements.
2222
2323
[vinge-novel]: https://www.tor.com/2017/08/03/science-fiction-with-something-for-everyone-a-deepness-in-the-sky-by-vernor-vinge/
24-
~~~~
24+
```

exercises/practice/linked-list/.docs/instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Sometimes a station gets closed down, and in that case the station needs to be r
1313

1414
The size of a route is measured not by how far the train travels, but by how many stations it stops at.
1515

16-
~~~~exercism/note
16+
```exercism/note
1717
The linked list is a fundamental data structure in computer science, often used in the implementation of other data structures.
1818
As the name suggests, it is a list of nodes that are linked together.
1919
It is a list of "nodes", where each node links to its neighbor or neighbors.
@@ -23,4 +23,4 @@ In a **doubly linked list** each node links to both the node that comes before,
2323
If you want to dig deeper into linked lists, check out [this article][intro-linked-list] that explains it using nice drawings.
2424
2525
[intro-linked-list]: https://medium.com/basecs/whats-a-linked-list-anyway-part-1-d8b7e6508b9d
26-
~~~~
26+
```

exercises/practice/pangram/.docs/introduction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ To give a comprehensive sense of the font, the random sentences should use **all
77
They're running a competition to get suggestions for sentences that they can use.
88
You're in charge of checking the submissions to see if they are valid.
99

10-
~~~~exercism/note
10+
```exercism/note
1111
Pangram comes from Greek, παν γράμμα, pan gramma, which means "every letter".
1212
1313
The best known English pangram is:
1414
1515
> The quick brown fox jumps over the lazy dog.
16-
~~~~
16+
```

exercises/practice/rational-numbers/.docs/instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
A rational number is defined as the quotient of two integers `a` and `b`, called the numerator and denominator, respectively, where `b != 0`.
44

5-
~~~~exercism/note
5+
```exercism/note
66
Note that mathematically, the denominator can't be zero.
77
However in many implementations of rational numbers, you will find that the denominator is allowed to be zero with behaviour similar to positive or negative infinity in floating point numbers.
88
In those cases, the denominator and numerator generally still can't both be zero at once.
9-
~~~~
9+
```
1010

1111
The absolute value `|r|` of the rational number `r = a/b` is equal to `|a|/|b|`.
1212

exercises/practice/rna-transcription/.docs/instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Given a DNA strand, its transcribed RNA strand is formed by replacing each nucle
1515
- `T` -> `A`
1616
- `A` -> `U`
1717

18-
~~~~exercism/note
18+
```exercism/note
1919
If you want to look at how the inputs and outputs are structured, take a look at the examples in the test suite.
20-
~~~~
20+
```

exercises/practice/rna-transcription/.docs/introduction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ You work for a bioengineering company that specializes in developing therapeutic
44

55
Your team has just been given a new project to develop a targeted therapy for a rare type of cancer.
66

7-
~~~~exercism/note
7+
```exercism/note
88
It's all very complicated, but the basic idea is that sometimes people's bodies produce too much of a given protein.
99
That can cause all sorts of havoc.
1010
@@ -13,4 +13,4 @@ But if you can create a very specific molecule (called a micro-RNA), it can prev
1313
This technique is called [RNA Interference][rnai].
1414
1515
[rnai]: https://admin.acceleratingscience.com/ask-a-scientist/what-is-rnai/
16-
~~~~
16+
```

exercises/practice/secret-handshake/.docs/instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ The secret handshake for 26 is therefore:
4141
jump, double blink
4242
```
4343

44-
~~~~exercism/note
44+
```exercism/note
4545
If you aren't sure what binary is or how it works, check out [this binary tutorial][intro-to-binary].
4646
4747
[intro-to-binary]: https://medium.com/basecs/bits-bytes-building-with-binary-13cb4289aafa
48-
~~~~
48+
```

exercises/practice/secret-handshake/.meta/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
"flag.tests.tstyche": false
2828
},
2929
"source": "Bert, in Mary Poppins",
30-
"source_url": "https://www.imdb.com/title/tt0058331/quotes/qt0437047"
30+
"source_url": "https://www.imdb.com/title/tt0058331/quotes/?item=qt0437047"
3131
}

exercises/practice/space-age/.meta/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
"flag.tests.tstyche": false
2828
},
2929
"source": "Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial.",
30-
"source_url": "http://pine.fm/LearnToProgram/?Chapter=01"
30+
"source_url": "https://pine.fm/LearnToProgram/?Chapter=01"
3131
}

exercises/practice/strain/.meta/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
"flag.tests.tstyche": false
2828
},
2929
"source": "Conversation with James Edward Gray II",
30-
"source_url": "https://twitter.com/jeg2"
30+
"source_url": "http://graysoftinc.com/"
3131
}

exercises/practice/transpose/.meta/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
"flag.tests.tstyche": false
2929
},
3030
"source": "Reddit r/dailyprogrammer challenge #270 [Easy].",
31-
"source_url": "https://www.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text"
31+
"source_url": "https://web.archive.org/web/20230630051421/https://old.reddit.com/r/dailyprogrammer/comments/4msu2x/challenge_270_easy_transpose_the_input_text/"
3232
}

0 commit comments

Comments
 (0)