浏览代码

Name the function, which has to be implemented.

Michael Mächtel 8 年前
父节点
当前提交
255f341df5
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      hw2/task1/README.md

+ 2
- 1
hw2/task1/README.md 查看文件

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

正在加载...
取消
保存