326. Power of Three
2016-12-03 本文已影响0人
我是你的果果呀
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? 这个follow up 很贱的, 谁问谁贱
如下为循环算法

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? 这个follow up 很贱的, 谁问谁贱
如下为循环算法