All Problems

Is Power of Four

EasybitsExpected: O(1) time, O(1) spaceInterview Context
bit-manipulation

Problem

Given an integer, determine whether it is a power of four.

Loading...