Power of Two at Qualcomm
Easy49.8% acceptance
This problem has 75.0% frequency at Qualcomm.
Problem Description
Given an integer `n`, return _`true` if it is a power of two. Otherwise, return `false`_. An integer `n` is a power of two, if there exists an integer `x` such that `n == 2x`.
Read full problem and hintsTopics
Also asked at 11 companies
More Qualcomm Questions
Reverse Linked ListEasyRotate ImageMediumReverse BitsEasySwap Nodes in PairsMediumClimbing StairsEasy
View all Qualcomm questions