GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — leetcode/python/461_Hamming_Distance.py at master · qiyuangong/leetcode Expand file tree/ Copy path461_Hamming_Distance.pyMore file actions 8 lines (8 loc) · 184 Bytes / Copy path461_Hamming_Distance.pyFile metadata and controls8 lines (8 loc) · 184 Bytes 1 2 3 4 5 6 7 8 class Solution(object): def hammingDistance(self, x, y): """ :type x: int :type y: int :rtype: int """ return bin(x ^ y).count('1') |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |