摘要:
Given a binary array, find the maximum number of consecutive 1s in this array. 阅读全文
posted @ 2017-01-20 11:31
Pickle
阅读(235)
评论(0)
推荐(0)
摘要:
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. 阅读全文
posted @ 2017-01-20 11:15
Pickle
阅读(314)
评论(0)
推荐(0)
摘要:
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calcul 阅读全文
posted @ 2017-01-20 10:31
Pickle
阅读(226)
评论(0)
推荐(0)
摘要:
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2017-01-20 10:14
Pickle
阅读(294)
评论(0)
推荐(0)
浙公网安备 33010602011771号