一、题目leetcode 上有这么一道题,power of three. 题目如下: Given an integer, write a function to determine if it is a power of three. 要求: Could you do it without using any loop / recursion? 就是说给出一个数,判断该数是否是 3 的 n

Click here to see the full blog post