Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Obvious solution in Clear category for Colorful Disks by veky
def count_discs(discs):
seen = last = 0
for disc in reversed(discs):
if disc > last: last, seen = disc, seen + 1
return seen
May 19, 2024