Search⌘ K
AI Features

Power of Three

Power of Three asks whether a given integer is exactly three raised to an integer power. Return TRUE or FALSE, without using loops or recursion.

Statement

Given an integer n, determine whether it is a power of three. Return TRUE if it is, and FALSE ...