Problems > Flip Bit K > Editorial

Flip Bit K — Solution & Editorial

Back to the Problem

XOR with the single-bit mask.

Complexity: O(1)