排序:
默认
按更新时间
按访问量

LeetCode 191. Number of 1 Bits(java)

Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit ...

2018-02-26 03:47:30

阅读数:16

评论数:0

LeetCode 338. Counting Bits(java)

Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and ...

2018-01-21 06:59:50

阅读数:16

评论数:0

LeetCode 461. Hamming Distance(java)

The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calc...

2018-01-12 08:00:49

阅读数:38

评论数:0

LeetCode136. Single Number(java)

Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime com...

2018-01-12 06:31:03

阅读数:38

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭