摘要:
"191. Number of 1 Bits" 本题难度: Easy Topic: Bit Manipulation Description Write a function that takes an unsigned integer and return the number of '1' bi 阅读全文
posted @ 2019-02-10 14:09
siriusli
阅读(167)
评论(0)
推荐(0)
摘要:
"2. Trailing Zeros" 本题难度: Easy Topic: Math&Bit Manipulation Description Write an algorithm which computes the number of trailing zeros in n factorial. 阅读全文
posted @ 2019-02-10 03:22
siriusli
阅读(164)
评论(0)
推荐(0)
摘要:
"142. O(1) Check Power of 2" 本题难度: Easy Topic: Math&Bit Manipulation Description Using O(1) time to check whether an integer n is a power of 2. Exampl 阅读全文
posted @ 2019-02-10 02:56
siriusli
阅读(149)
评论(0)
推荐(0)
摘要:
"181. Flip Bits" 本题难度: Easy Topic: Math&Bit Manipulation Description Determine the number of bits required to flip if you want to convert integer n to 阅读全文
posted @ 2019-02-10 02:42
siriusli
阅读(117)
评论(0)
推荐(0)
摘要:
"183. Wood Cut" 本题难度: Hard Topic: Binary Search Description Given n pieces of wood with length L[i] (integer array). Cut them into small pieces to gua 阅读全文
posted @ 2019-02-10 02:15
siriusli
阅读(189)
评论(0)
推荐(0)
摘要:
"[Lintcode]61. Search for a Range" / "[Leetcode]34. Find First and Last Position of Element in Sorted Array" 本题难度: Medium/Medium Topic: Binary Search 阅读全文
posted @ 2019-02-10 01:30
siriusli
阅读(173)
评论(0)
推荐(0)
摘要:
"81. Search in Rotated Sorted Array II" 本题难度: Medium Topic: Binary Search 类似 "[Lintcode]62. Search in Rotated Sorted Array/[Leetcode]33. Search in Rot 阅读全文
posted @ 2019-02-10 01:09
siriusli
阅读(177)
评论(0)
推荐(0)
摘要:
"[Lintcode]62. Search in Rotated Sorted Array" / "[Leetcode]33. Search in Rotated Sorted Array" 本题难度: Medium/Medium Topic: Binary Search Description 6 阅读全文
posted @ 2019-02-10 00:52
siriusli
阅读(201)
评论(0)
推荐(0)
浙公网安备 33010602011771号