目录仅包括1-100 Easy和medium题
101-200 Easy和medium题见link(懒得做目录了)
https://github.com/ericlan77/my-leetcode/blob/main/leetcode-java/solutions/Solution007.java
题号 | 实现语言 | 备注 |
---|---|---|
1.TwoSum | Python, Java | |
7.ReverseInteger | Python, Java | |
9.PalindromeNumber | Python, Java | |
13.RomantoInteger | Python, Java | |
14.LongestCommonPrefix | Python, Java | |
20.ValidParentheses | Python, Java | 队列 |
21.MergeTwoSortedLists | Python, Java | 链表操作 |
26.RemoveDuplicatesfromSortedArray | Python, Java | |
27.RemoveElement | Python, Java | |
28.ImplementstrStr() | Python, Java | |
35.SearchInsertPosition | Python, Java | 二分查找 |
38.CountandSay | Python, Java | |
53.MaximumSubarray | Python, Java | 动态规划 |
58.LengthofLastWord | Python, Java | |
67.AddBinary | Python, Java | |
69.Sqrt(x) | Python, Java | |
70.ClimbingStairs | Python, Java | |
83.RemoveDuplicatesfromSortedList | Python, Java | |
88.MergeSortedArray | Python, Java | |
100.相同的树 | Python, Java |
题号 | 实现语言 | 备注 |
---|---|---|
2.AddTwoNumbers | Python, Java | |
3.LongestSubstringWithoutRepeatingCharacters | Python, Java | |
5.LongestPalindromicSubstring | Python, Java | |
6.ZigZagConversion | Python, Java | |
8.StringtoInteger(atoi) | Python, Java | |
11.ContainerWithMostWater | Python, Java | |
12.IntegertoRoman | Python, Java | |
15.3Sum | Python, Java | |
16.3SumClosest | Python, Java | |
17.LetterCombinationsofaPhoneNumber | Python, Java | |
18.4Sum | Python, Java | |
19.RemoveNthNodeFromEndofList | Python, Java | |
22.GenerateParentheses | Python, Java | |
24.SwapNodesinPairs | Python, Java | |
29.DivideTwoIntegers | Python, Java | |
31.NextPermutation | Python, Java | |
33.SearchinRotatedSortedArray | Python, Java | |
81.SearchinRotatedSortedArrayII | Python, Java | |
34.FindFirstandLastPositionofElementinSortedArray | Python, Java | |
36.ValidSudoku | Python, Java | |
39.CombinationSum | Python, Java | |
40.CombinationSumII | Python, Java | |
42.TrappingRainWater | Python, Java | |
43.MultiplyStrings | Python, Java | |
46.Permutations | Python, Java | |
47.PermutationsII | Python, Java | |
48.RotateImage | Python, Java | |
49.GroupAnagrams | Python, Java | |
54.SpiralMatrix | Python, Java | |
59.SpiralMatrixII | Python, Java | |
55.JumpGame | Python, Java | |
56.MergeIntervals | Python, Java | |
60.PermutationSequence | Python, Java | |
61.RotateList | Python, Java | |
62.UniquePaths | Python, Java | |
63.UniquePathsII | Python, Java | |
64.MinimumPathSum | Python, Java | |
71.SimplifyPath | Python, Java | |
73.SetMatrixZeroes | Python, Java | |
74.Searcha2DMatrix | Python, Java | |
77.Combinations | Python, Java | |
78.Subsets | Python, Java | |
90.SubsetsII | Python, Java | |
79.WordSearch | Python, Java | |
80.RemoveDuplicatesfromSortedArrayII | Python, Java | |
82.RemoveDuplicatesfromSortedListII | Python, Java | |
86.PartitionList | Python, Java | |
89.GrayCode | Python, Java | |
91.DecodeWays | Python, Java | |
92.ReverseLinkedListII | Python, Java | |
93.RestoreIPAddresses | Python, Java | |
94.BinaryTreeInorderTraversal | Python, Java | |
96.UniqueBinarySearchTrees | Python, Java | |
95.UniqueBinarySearchTreesII | Python, Java | |
98.ValidateBinarySearchTree | Python, Java | |
994.RottingOranges | Python, Java | |
621.TaskScheduler | Python, Java | |
647.PalindromicSubstrings | Python, Java | |
739.DailyTemperatures | Python, Java |
题号 | 备注 |
---|