Leetcode题目解答汇总

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yefengzhichen/article/details/51706789

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


猜你喜欢

转载自blog.csdn.net/yefengzhichen/article/details/51706789