LeetCode
huanhuahua
这个作者很懒,什么都没留下…
展开
-
461. Hamming Distance
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note: 0 ≤ x, y转载 2018-01-14 23:31:08 · 65 阅读 · 0 评论 -
760. Find Anagram Mappings
Given two lists Aand B, and B is an anagram of A. B is an anagram of A means B is made by randomizing the order of the elements in A. We want to find an index mapping P, from A to B. A mapping转载 2018-01-14 23:35:50 · 83 阅读 · 0 评论