var minOperations = function (nums, k) {
for (const num of nums) {
k ^= num
}
return k.toString(2).replaceAll(/0/g, "").length
}
A very crammable answer that requires patience and thought
var minOperations = function (nums, k) {
for (const num of nums) {
k ^= num
}
return k.toString(2).replaceAll(/0/g, "").length
}
A very crammable answer that requires patience and thought
For further actions, you may consider blocking this person and/or reporting abuse
Eddie Gulay -
This Dot Media -
Eleftheria Batsou -
Tahrim Bilal -
Top comments (0)