Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
count and most common solution in Clear category for The Fastest Horse by imtiaz.rahi
from collections import Counter
def fastest_horse(*horses) -> int:
if isinstance(horses[0][0], list): horses = horses[0]
return Counter(it.index(min(it)) for it in horses).most_common()[0][0] + 1
Nov. 21, 2019