[LeetCode 326] Power of Three

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

Follow up:
Could you do it without using any loop / recursion?

Diffculty
Medium

Similar Problems
[LeetCode 209] Power of Two Easy [LeetCode 324] Power of Four Easy

Analysis

results matching ""

    No results matching ""