Quellcode durchsuchen

Name the function, which has to be implemented.

Michael Mächtel vor 8 Jahren
Ursprung
Commit
255f341df5
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2
    1
      hw2/task1/README.md

+ 2
- 1
hw2/task1/README.md Datei anzeigen

@@ -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

Laden…
Abbrechen
Speichern