Bit Manipulation - Power of Four
If the input number n can be negative or zero, and you want to check if its absolute value is a power of four, which modification to the optimal logarithm-based approach is correct?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions