Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Majority by Moff
def is_majority(items: list) -> bool:
return sum(1 for b in items if b) > len(items) // 2
May 14, 2021
Comments: