Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 227 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 227 Bytes

18.Is Power of 2

Description

Given an integer, write a function to determine if it is a power of two.

Example

Input: 1
Output: true

From

LeetCode