Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 301 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 301 Bytes

72.Power of Four

Description

Given an integer (signed 32 bits), write a function to check whether it is a power of 4.

Example1

Input: 16
Output: true

Example2

Input: 8
Output: false

From

LeetCode