Back to Question

The Power of Two

Question Explain

Given an integer $n$, return true if it is a power of two. Solve using a single Bit Manipulation operation ($O(1)$).

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.