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.159 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.158 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.157 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.156 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.155 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.154 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.153 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.152 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.151 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.150 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.149 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.148 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.147 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.146 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.145 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.144 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.143 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.142 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.141 tracks/go/exercises/nucleotide-count/.meta/hints.md
trackler-2.2.1.140 tracks/go/exercises/nucleotide-count/.meta/hints.md