Updated: 2024-03-12
1 min read

On This Page

class Solution:
    def hasTrailingZeros(self, nums: List[int]) -> bool:
        return sum(x & 1 ^ 1 for x in nums) >= 2
Previous
Next