Pārlūkot izejas kodu

Name the function, which has to be implemented.

Michael Mächtel 8 gadus atpakaļ
vecāks
revīzija
255f341df5
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      hw2/task1/README.md

+ 2
- 1
hw2/task1/README.md Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt