|
|
@@ -6,7 +6,8 @@ Run the cargo command to prepare your task1/ directory as a library
|
|
6
|
6
|
|
|
7
|
7
|
## task
|
|
8
|
8
|
|
|
9
|
|
-Calculate the Hamming difference between two DNA strands.
|
|
|
9
|
+Calculate the Hamming difference between two DNA strands by implementing
|
|
|
10
|
+the library function *hamming_distance(s1: &str, s2: &str) -> Result<usize, String>*.
|
|
10
|
11
|
|
|
11
|
12
|
A mutation is simply a mistake that occurs during the creation or
|
|
12
|
13
|
copying of a nucleic acid, in particular DNA. Because nucleic acids are
|