LeetCode 326 Power of Three(3的幂)(递归、Log函数)

翻译 给定一个整型数,写一个函数决定它是不是3的幂(翻译可能不太合适…… 跟进: 你是否能够不用任何循环或递归来完成。 原文 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 / recursio
相关文章
相关标签/搜索