摘要:
202. Happy Number Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with a 阅读全文
posted @ 2016-11-09 11:41
花椰菜菜菜菜
阅读(207)
评论(0)
推荐(0)
摘要:
198. House Robber You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only cons 阅读全文
posted @ 2016-11-09 11:05
花椰菜菜菜菜
阅读(277)
评论(0)
推荐(0)
摘要:
191. Number of 1 Bits Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). Fo 阅读全文
posted @ 2016-11-09 10:13
花椰菜菜菜菜
阅读(174)
评论(0)
推荐(0)
摘要:
190. Reverse Bits Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 0000001010010100000111 阅读全文
posted @ 2016-11-09 10:05
花椰菜菜菜菜
阅读(109)
评论(0)
推荐(0)

浙公网安备 33010602011771号