Skip to content

jrhu05/leetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

leetCode刷题笔记

本文记录了leetCode刷题过程中的心得体会,每道题目均是以题目、分析、解答的模式给出,题目中复述了该题,分析中针对题目给出了简要的解题思路分析,解答中给出了能够通过的java语言实现的解答。

有事没事就刷上这么一两道,龟速更新中,努力提高自己的算法水平。这个笔记一方面给自己提供一个整理,方便后续的复习查阅,另一方面如果能给各位带来一些帮助那就再好不过了。

我刷题的顺序是计划先刷完前100道,先简单,后中级,最后hard,目前已经刷到了中级一半。此外有参考的部分均已注明出处。

LeetCode-001TwoSum

LeetCode-002AddTwoNumbers

LeetCode-003LongestSubstringWithoutRepeatingCharacters

LeetCode-004LongestPalindromicSubstring

LeetCode-006ZigzagConversion

LeetCode-007ReverseInteger

LeetCode-008StringToIntegerAtoi

LeetCode-009PalindromeNumber

LeetCode-011ContainerWithMostWater

LeetCode-012IntegerToRoman

LeetCode-013RomanToInteger

LeetCode-014LongestCommonPrefix

LeetCode-015ThreeSum

LeetCode-016ThreeSumClosest

LeetCode-017LetterCombinationsOfAPhoneNumber

LeetCode-018fourSum

LeetCode-019RemoveNthNodeFromEndOfList

LeetCode-020ValidParentheses

LeetCode-021MergeTwoSortedLists

LeetCode-022GenerateParentheses

LeetCode-024SwapNodesInPairs

LeetCode-026RemoveDuplicatesFromSortedArray

LeetCode-027RemoveElement

LeetCode-028ImplementStrstr

LeetCode-029DivideTwoIntegers

LeetCode-031NextPermutation

LeetCode-033SearchInRotatedSortedArray

LeetCode-034FindFirstAndLastPositionOfElementInSortedArray

LeetCode-035SearchInsertPosition

LeetCode-036ValidSudoku

LeetCode-038CountAndSay

LeetCode-039CombinationSum

LeetCode-040CombinationSumII

LeetCode-053MaximumSubarray

LeetCode-058Length0fLastWord

LeetCode-066PlusOne

LeetCode-067AddBinary

LeetCode-069Sqrtx

LeetCode-070ClimbingStairs

LeetCode-083RemoveDuplicatesFromSortedList

LeetCode-088MergeSortedArray

LeetCode-100SameTree

LeetCode-461HammingDistance

LeetCode-657JudgeRouteCircle

LeetCode-771JewelsAndStones

About

LeeteCode刷题笔记

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published