Leetcode题目解答汇总
Leetcode題目解答匯總
? 斷斷續續的在leetcode上刷了一些題,每次遇到一時解決不了的都跳過了,以至于沒有完整的熟悉每個題。因此匯總在此,實時更新,方便繼續刷題以及后期回顧。
1、001 Two Sum:
http://blog.csdn.net/yefengzhichen/article/details/47020871
2、002 Add Two Numbers:
http://blog.csdn.net/yefengzhichen/article/details/47027773
3、003 Longest Substring Without Repeating Characters:
http://blog.csdn.net/yefengzhichen/article/details/47040139
4、004 Median of Two Sorted Arrays:
http://blog.csdn.net/yefengzhichen/article/details/47060101
5、005 Longest Palindromic Substring:
http://blog.csdn.net/yefengzhichen/article/details/47062839
6、006 ZigZag Conversion:
http://blog.csdn.net/yefengzhichen/article/details/47068735
7、007 Reverse Integer:
http://blog.csdn.net/yefengzhichen/article/details/47070297
8、008?String to Integer (atoi):
http://blog.csdn.net/yefengzhichen/article/details/47071303
9、009 Palindrome Number:
http://blog.csdn.net/yefengzhichen/article/details/47073291
10、010 Regular Expression Matching
http://blog.csdn.net/yefengzhichen/article/details/52434595
11、011 Container With Most Water:
http://blog.csdn.net/yefengzhichen/article/details/47102837
12、012 Integer to Roman:
http://blog.csdn.net/yefengzhichen/article/details/47101133
13、013 Roman to Integer:
http://blog.csdn.net/yefengzhichen/article/details/47093287
14、014 Longest Common Prefix:
http://blog.csdn.net/yefengzhichen/article/details/47106739
17、017 Letter Combinations of a Phone Number
http://blog.csdn.net/yefengzhichen/article/details/47123793
19、Remove Nth Node From End of List
http://blog.csdn.net/yefengzhichen/article/details/47126705
20、020 Valid Parentheses:
http://blog.csdn.net/yefengzhichen/article/details/47132561
22、022 Generate Parentheses
http://blog.csdn.net/yefengzhichen/article/details/47148775
23、023 Merge k Sorted Lists
http://blog.csdn.net/yefengzhichen/article/details/47153657
24、024 Swap Nodes in Pairs
http://blog.csdn.net/yefengzhichen/article/details/47155713
26、026 Remove Duplicates from Sorted Array
http://blog.csdn.net/yefengzhichen/article/details/47165191
27、027 Remove Element
http://blog.csdn.net/yefengzhichen/article/details/47166073
28、028 Implement strStr()
http://blog.csdn.net/yefengzhichen/article/details/47168207
29、029 Divide Two Integers
http://blog.csdn.net/yefengzhichen/article/details/47174577
31、031 Next Permutation
http://blog.csdn.net/yefengzhichen/article/details/47206705
34、034 Search for a Range
http://blog.csdn.net/yefengzhichen/article/details/47206901
35、035 Search Insert Position
http://blog.csdn.net/yefengzhichen/article/details/47207013
36、036 Valid Sudoku
http://blog.csdn.net/yefengzhichen/article/details/47207041
38、038 Count and Say
http://blog.csdn.net/yefengzhichen/article/details/47207125
41、041 First Missing Positive
http://blog.csdn.net/yefengzhichen/article/details/47759821
42、042 Trapping Rain Water
http://blog.csdn.net/yefengzhichen/article/details/47702193
46、046 Permutations
http://blog.csdn.net/yefengzhichen/article/details/48622489
48、048 Rotate Image
http://blog.csdn.net/yefengzhichen/article/details/48629187
49、049 Group Anagrams
http://blog.csdn.net/yefengzhichen/article/details/48802935
50、050 Pow(x, n)
http://blog.csdn.net/yefengzhichen/article/details/48803199
51、051 N-Queens
http://blog.csdn.net/yefengzhichen/article/details/49429837
總結
以上是生活随笔為你收集整理的Leetcode题目解答汇总的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Spring JPA 中的Reposit
- 下一篇: 微服务扩展新途径:Messaging