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
相關文章
相關標籤/搜索