Power of Four at Qualcomm

Easy51.7% acceptance

This problem has 50.0% frequency at Qualcomm.

Problem Description

Given an integer `n`, return _`true` if it is a power of four. Otherwise, return `false`_. An integer `n` is a power of four, if there exists an integer `x` such that `n == 4x`.

Read full problem and hints

Topics

Also asked at 7 companies


More Qualcomm Questions

View all Qualcomm questions