nucleotide-count: Added template to stub file
+use std::collections::HashMap;
+pub fn count(nucleotide: char, dna: &str) -> Result<usize, ()> {
+ unimplemented!(
+ "How much of nucleotide type '{}' is contained inside DNA string '{}'?",
+ nucleotide,
+ dna
+ );
+}
+
+pub fn nucleotide_counts(dna: &str) -> Result<HashMap<char, usize>, char> {
+ unimplemented!(
+ "How much of every nucleotide type is contained inside DNA string '{}'?",
+ dna
+ );
+}
