15 Math
感觉数学很多题都只能靠人品来记住。=_=|||
L428 Pow(x, n) (50)
L408 Add Binary (67)
L1 A + B (this one has some variation in ctci & coding intervew, implement + - * /) - (371. Sum of Two Integers)
L586 Sqrt(x) II --- 牛顿法, 这题劝你善良背2分,因为你是背不鸟牛顿法的。
29 Divide Two Integers (L414)
190 Reverse Bits
7 reverse Integer (L413)
223 Number of Digit One -- 数1的个数 -- ctci 17.6
L3 digit count -- 233的高级版,数任意一个数字的个数
357 Count Numbers with Unique Digits
204 Count Prime -- sheive
L517 Ugly Number (263)
L518 Super Ugly Number (313)
766 Teoplitz Matrix -- google
Amicable Pair less than n -- snapchat
89 Gray Code (L411)
179 Largest Number (L184)
227 Basic Calculator II -- ctci 16.26
43 Multiply Strings(L656)
169 Majority Element (L46)
229 Majority Element II (L47)
273 Integer to English Words -- cc16.8
311 Sparse Matrix Multiplication
9 Palindrome Number
1680 Concatenation of Consecutive Binary Numbers
1342 Number of Steps to Reduce a Number to Zero
1551 Minimum Operations to Make Array Equal
775 Global and Local Inversions
1228 Missing Number In Arithmetic Progression
Other Related :
L141 Sqrt(x) -- 2分
RootOfNumber -- pramp, 进化版的L141 Sqrt(x), 这题就变了一下,可以开n方。
L584 Drop Eggs II -- DP
264 Ugly Number II (L4) -- DP
187 Repeated DNA Sequences -- can use rolling hash as well
28 Implement strStr -- rolling hash
Last updated