MAJ - maccergit/Rosalind GitHub Wiki

A couple versions are presented here:

01

Direct approach - count number of each type of element, and then find out which one (if any) holds majority status.

02

The Python Counter class can directly provide the element with the largest count.