摘要: Given an integer, write a function to determine if it is a power of two. Example 1: Example 2: Input: 5 Output: false判断一个数是否为2的次幂,偶然发现3年前做这道题就是很简单的循环对 阅读全文
posted @ 2018-12-02 16:27 Pickle 阅读(184) 评论(0) 推荐(0) 编辑