[LeetCode]Total Hamming Distance

题目描述:

LeetCode 477. Total Hamming Distance

The Hamming distance between two integers is the number of positions at which the corresponding bits are different.

Now your job is to find the total Hamming distance between all pairs of the given ...

继续阅读

LeetCode Weekly Contest 12解题报告

LeetCode Weekly Contest 12是LeetCode举办的第十五场正式周赛,共4道题目,比赛时长2小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-12/

题解列表:

LeetCode 475. Heaters

LeetCode 468. Validate IP Address

LeetCode 474. Ones and Zeroes

LeetCode 471. Encode String with Shortest Length