Power of Two at Snapchat
Easy49.8% acceptance
This problem has 50.0% frequency at Snapchat.
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 Snapchat Questions
Wildcard MatchingHardUnique Binary Search TreesMediumReverse Linked ListEasyBasic Calculator IIMediumLeast Operators to Express NumberHard
View all Snapchat questions