205. Isomorphic Strings: 利用結(jié)構(gòu)不變原理
20. Valid Parentheses: 比遍歷所有可能的括號組合要容易得多
111. Minimum Depth of Binary Tree:主要要判斷節(jié)點是不是leaf節(jié)點
507. Perfect Number: 考慮一些負數(shù)的情況吧
290. Word Pattern:一些邊邊角角的情況要考慮,不難
1. Two Sum: 這題已經(jīng)沒人再考了吧
234. Palindrome Linked List: 反轉(zhuǎn) linkedlist然后一個一個比較
225. Implement Stack using Queues: 不難
219. Contains Duplicate II: 映射一下就可以了
88. Merge Sorted Array: 從后往前的一步一步比較
203. Remove Linked List Elements: linkedlist基本操作
58. Length of Last Word: 不知道這題的意義何在
67. Add Binary: 記得carry就行
14. Longest Common Prefix: 挨個比較
160. Intersection of Two Linked Lists: 先計算長度,然后再比較
400. Nth Digit:這又是一道數(shù)學(xué)題
475. Heaters:先排序,然后針對每個房子二分查找
190. Reverse Bits:這題還是有點麻煩,不過就是按塊移位