Power of Three

Title: Power of Three Source: leetcode.com

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?

Java solution

Power of Three
Rate this post

Leave a Reply