2357. Make Array Zero by Subtracting Equal Amounts Updated: 2024-03-12 1 min read Algorithms , LeetCode On This PageLeetCode problem 2357class Solution: def minimumOperations(self, nums: List[int]) -> int: return len({x for x in nums if x})