15 Math

感觉数学很多题都只能靠人品来记住。=_=|||

L221 Add Two Numbers II

L428 Pow(x, n) (50)

L140 Fast Power

372 Super Pow

L407 Plus One

L408 Add Binary (67)

L167 Add Two Number

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)

L254 Drop Egg

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

202 Happy Number

118 Pascal s Triangle

119 Pascal s Triangle II

L517 Ugly Number (263)

L518 Super Ugly Number (313)

396 Rotate Function

766 Teoplitz Matrix -- google

Amicable Pair less than n -- snapchat

89 Gray Code (L411)

179 Largest Number (L184)

224 Basic Calculator

227 Basic Calculator II -- ctci 16.26

8 String to Integer

43 Multiply Strings(L656)

415 Add Strings

169 Majority Element (L46)

229 Majority Element II (L47)

171 Excel Sheet Column Number

168 Excel Sheet Column Title

13 Roman to Integer

273 Integer to English Words -- cc16.8

311 Sparse Matrix Multiplication

258 Add Digits

12 Integer to Roman

365 Water and Jug Problem

9 Palindrome Number

65 Valid Number (L417)

L180 Binary Representation

561 Array Partition I

384 Shuffle an Array

172 Factorial Trailing Zeroes

149 Max Points on a Line

836 Rectangle Overlap

1037 Valid Boomerang

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

326 Power of Three

492 Construct the Rectangle

L235 Prime Factorization

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