Updated: 2024-03-12
1 min read

On This Page

class Solution:
    def minOperations(self, nums: List[int], k: int) -> int:
        return reduce(xor, nums, k).bit_count()
Previous
Next