July 2, 2012, midnight by Rosalind Team
Topics: Phylogeny
Quantifying Binary Tree Comparison
Define the split distance between two unrooted binary trees as the number of nontrivial splits contained in one tree but not the other.
Formally, if
Given: A collection of at most 3,000 species taxa and two unrooted binary trees
Return: The split distance
dog rat elephant mouse cat rabbit (rat,(dog,cat),(rabbit,(elephant,mouse))); (rat,(cat,dog),(elephant,(mouse,rabbit)));
2