12 2018 档案
摘要:Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You may re
阅读全文
摘要: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年前做这道题就是很简单的循环对
阅读全文