2317. Maximum XOR After Operations

Обновлено: 2024-03-12
1 мин
[]

Содержание

LeetCode problem 2317

class Solution:
    def maximumXOR(self, nums: List[int]) -> int:
        return reduce(or_, nums)