Day 4 of 31-Day May LeetCode Challenge
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.
We never really grow up, we only learn how to act in public