Sha256: 57e22010c9bf8e6dc0a97a26391ed5db8623580d7147e8e3919803ecac3a5cbf
Contents?: true
Size: 326 Bytes
Versions: 396
Compression:
Stored size: 326 Bytes
Contents
defmodule Hamming do @doc """ Returns number of differences between two strands of DNA, known as the Hamming Distance. ## Examples iex> Hamming.hamming_distance('AAGTCATA', 'TAGCGATC') {:ok, 4} """ @spec hamming_distance([char], [char]) :: non_neg_integer def hamming_distance(strand1, strand2) do end end
Version data entries
396 entries across 396 versions & 1 rubygems