摘要: 原题链接在这里:https://leetcode.com/problems/counting-bits/ 题目: Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calcula 阅读全文
posted @ 2017-01-02 09:03 Dylan_Java_NYC 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/total-hamming-distance/ 题目: The Hamming distance between two integers is the number of positions at which the co 阅读全文
posted @ 2017-01-02 08:36 Dylan_Java_NYC 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/hamming-distance/ 题目: The Hamming distance between two integers is the number of positions at which the correspo 阅读全文
posted @ 2017-01-02 08:08 Dylan_Java_NYC 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/find-all-duplicates-in-an-array/ 题目: Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements 阅读全文
posted @ 2017-01-02 07:05 Dylan_Java_NYC 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/ 题目: Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), 阅读全文
posted @ 2017-01-02 06:53 Dylan_Java_NYC 阅读(979) 评论(0) 推荐(0) 编辑