Counting Phylogenetic Ancestors

Solution to Rosalind Problem 035: Counting Phylogenetic Ancestors