Back to QuestionsPractice with This Question
The Power of Two
72.5K views•Asked at Uber•
Easy
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
Practice answering orally or with text to get instant AI feedback.