补充内容 (2017-3-5 21:22):
3.5
trapping water 这个。。。没想到雨水怎么计算
container with most water 这个类似于2 sum
longest substring without repeated character 和best solution想得很类似 没想到用双指针了
翻转字符串
补充内容 (2017-3-7 19:16):
strstr几种方法
happy number不会分析
ransom note
count and say
add digit O(1)时间复杂度
reverse vowels
decode ways
add binary
补充内容 (2017-3-8 15:25):
edit distance
Detect Capital
Number of Segments in a String 记住检查一行句子单词个数的算法
Shortest Palindrome 递归的方法 KMP并不会
Longest Common Substring
Longest Common Subsequence
补充内容 (2017-3-11 10:48):
做了俩天毕设 重新开张
1 最长回文序列 自己按照LCS的思路想的dp效率50边上 参考答案LPS的dp 效率高点
2smallest black pixel rectangle
3 reverse words in a string stack + 数组 + (split用法不会、、、)
补充内容 (2017-3-13 19:24):
3-13
roman to integer
integer to roman
heaters(这题没看懂 看了答案才明白。。)
valid perfect square
arrange coins
sqrt II 学习了二分法精度的问题
basic calculator
mini time diff
补充内容 (2017-3-14 17:11):
3.14
mini parser
zigzag conversion
compare two version
flatten nested list
first bad version
补充内容 (2017-3-15 16:38):
3-15
search 2D matrix
kth smallest number in sorted matrix
find min in rotated arry I II
min window substring
补充内容 (2017-3-15 23:01):
kth small pair O(klog(min(n, m)))
min window substring 用char数组过不了 int就过了 醉醉的
补充内容 (2017-3-16 11:24):
char[]数组只能并不能计数 基础有点忘了==
longest increasing path in a matrix
longest 回文
first unique character in a string
补充内容 (2017-3-16 20:44):
Longest word in dictionary through deleting sort的时间复杂度不太明白 有不sort的方法
Longest Repeating Character Replacement
Minimum Size Subarray Sum O(n) 挑战:O(nlogn)
3.20
valid number(感觉这题就是考虑多种情况)
longest concatenation...(看discussion模仿的)
basic calculator II
sort list(回顾merge sort和 quick sort, quickselect)
merge 2 sorted list
remove nth node from the end