摘要: Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: Example 1: Int 阅读全文
posted @ 2017-02-27 19:40 __Meng 阅读(143) 评论(0) 推荐(0) 编辑
摘要: The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calcul 阅读全文
posted @ 2017-02-27 15:31 __Meng 阅读(157) 评论(0) 推荐(0) 编辑