Skip to content

Commit e8de0a2

Browse files
ZurekaErikSchierboom
authored andcommitted
README updates from problem-specifications repo (#702)
1 parent 63ed0c1 commit e8de0a2

File tree

2 files changed

+13
-22
lines changed

2 files changed

+13
-22
lines changed

exercises/affine-cipher/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,14 @@ harder to guess things based on word boundaries.
7373

7474
To run the tests, run the command `dotnet test` from within the exercise directory.
7575

76+
## Further information
77+
78+
For more detailed information about the C# track, including how to get help if
79+
you're having trouble, please visit the exercism.io [C# language page](http://exercism.io/languages/csharp/resources).
80+
7681
## Source
7782

7883
Wikipedia [http://en.wikipedia.org/wiki/Affine_cipher](http://en.wikipedia.org/wiki/Affine_cipher)
7984

8085
## Submitting Incomplete Solutions
81-
82-
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
86+
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

exercises/hamming/README.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,20 @@
11
# Hamming
22

3-
Calculate the Hamming difference between two DNA strands.
3+
Calculate the Hamming Distance between two DNA strands.
44

5-
A mutation is simply a mistake that occurs during the creation or
6-
copying of a nucleic acid, in particular DNA. Because nucleic acids are
7-
vital to cellular functions, mutations tend to cause a ripple effect
8-
throughout the cell. Although mutations are technically mistakes, a very
9-
rare mutation may equip the cell with a beneficial attribute. In fact,
10-
the macro effects of evolution are attributable by the accumulated
11-
result of beneficial microscopic mutations over many generations.
5+
Your body is made up of cells that contain DNA. Those cells regularly wear out and need replacing, which they achieve by dividing into daughter cells. In fact, the average human body experiences about 10 quadrillion cell divisions in a lifetime!
126

13-
The simplest and most common type of nucleic acid mutation is a point
14-
mutation, which replaces one base with another at a single nucleotide.
7+
When cells divide, their DNA replicates too. Sometimes during this process mistakes happen and single pieces of DNA get encoded with the incorrect information. If we compare two strands of DNA and count the differences between them we can see how many mistakes occurred. This is known as the "Hamming Distance".
158

16-
By counting the number of differences between two homologous DNA strands
17-
taken from different genomes with a common ancestor, we get a measure of
18-
the minimum number of point mutations that could have occurred on the
19-
evolutionary path between the two strands.
20-
21-
This is called the 'Hamming distance'.
22-
23-
It is found by comparing two DNA strands and counting how many of the
24-
nucleotides are different from their equivalent in the other string.
9+
We read DNA using the letters C,A,G and T. Two strands might look like this:
2510

2611
GAGCCTACTAACGGGAT
2712
CATCGTAATGACGGCCT
2813
^ ^ ^ ^ ^ ^^
2914

30-
The Hamming distance between these two DNA strands is 7.
15+
They have 7 differences, and therefore the Hamming Distance is 7.
16+
17+
The Hamming Distance is useful for lots of things in science, not just biology, so it's a nice phrase to be familiar with :)
3118

3219
# Implementation notes
3320

0 commit comments

Comments
 (0)