Search⌘ K
AI Features

Solution: Power of Two

Solution: Power of Two asks whether a given integer can be expressed as two raised to an integer power. Return TRUE when it qualifies and FALSE otherwise. Negative inputs cannot qualify.

Statement

An integer n is considered a power of two if it can be expressed as n ==2x==2^x ...