摘要: 题目: Reverse bits of a given 32 bits unsigned integer. 给定32位无符号整数的反转位。 Example: Input: 43261596 Output: 964176192 Explanation: 43261596 represented in 阅读全文
posted @ 2018-09-18 15:19 chan_ai_chao 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will 阅读全文
posted @ 2018-09-18 15:03 chan_ai_chao 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 题目: Implement int sqrt(int x). 实现int sqrt(int x)。 Compute and return the square root of x, where x is guaranteed to be a non-negative integer. 计算并返回x的 阅读全文
posted @ 2018-09-18 10:56 chan_ai_chao 阅读(95) 评论(0) 推荐(0) 编辑