← ALL NOTES
Array

3514. Number of Unique XOR Triplets II

Given an integer array nums. A XOR triplet is nums[i] XOR nums[j] XOR nums[k] for i ≤ j ≤ k (elements may repeat). Return the count of distinct XOR triplet values. Constraints: 1 ≤ nums.length ≤…

Loading…