[LeetCode] Hamming Distance 汉明距离
这并不是一道难题,但我看到原博主的第三种解法后,觉得不少题都应该保持这种探寻最优解的思考方式,故以此为记。
The Hamming distance between two integers is the number of positions at which the corresponding
bits are different.
Given two integers x
转载
2017-09-08 22:20:23 ·
279 阅读 ·
0 评论