2317. Maximum XOR After Operations

Updated: 2024-03-12
1 min read
[]

On This Page

LeetCode problem 2317

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