LeetCode 326. Power of Three(3的n次幂)
原题网址:https://leetcode.com/problems/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?
方
原创
2016-04-26 06:50:28 ·
527 阅读 ·
0 评论