leetcode 326. Power of Three 3的冪指數 + 對數函數實現

Given an integer, write a function to determine if it is a power of three.java Follow up: Could you do it without using any loop / recursion?ios 最直接的方法是使用log函數,還有一個從網上看到的別的方法,也能夠,不過很難想。web 建議和這一道題leet
相關文章
相關標籤/搜索