Sha256: a8dbf0feba1b35416fe06b122a52960234fe1f0fcd2768cab6d459c59863a9fa

Contents?: true

Size: 622 Bytes

Versions: 86

Compression:

Stored size: 622 Bytes

Contents

## Implementation

You should define a custom type 'DNA' with a function 'Counts' that outputs two values: 

- a frequency count for the given DNA strand
- an error (if there are invalid nucleotides)

Which is a good type for a DNA strand ? 

Which is the best Go types to represent the output values ?

Take a look at the test cases to get a hint about what could be the possible inputs.


## note about the tests
You may be wondering about the `cases_test.go` file. We explain it in the
[leap exercise][leap-exercise-readme].

[leap-exercise-readme]: https://github.com/exercism/go/blob/master/exercises/leap/README.md

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.179 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.178 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.177 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.176 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.175 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.174 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.173 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.172 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.171 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.170 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.169 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.167 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.166 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.165 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.164 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.163 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.162 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.161 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.160 tracks/go/exercises/nucleotide-count/.meta/hints.md