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 阅读全文
posted @ 2018-12-07 17:11 Pickle 阅读(245) 评论(0) 推荐(0) 编辑
摘要: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 阅读(185) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示