- 记录LeetCode题解,日更
- 题解语言为Java
- CSDN:https://blog.csdn.net/zhou373986278
- 欢迎大家指正(^▽^)
- 1.Two Sum
- 2.Add Two Numbers
- 3.Longes Substring Without Repeating Characters
- 15.3 Sum
- 18.4 Sum
- 19.Remove Nth Node From End of List
- 21.Merge Two Sorted Lists
- 23.Merge K Sorted Lists
- 24.Swap Nodes In Pairs
- 25.Reverse Nodes In K-Group
- 33.Searching Rotated Sorted Array
- 34.Find First and Last Position of Elementin Sorted Array
- 36.Valid Sudoku
- 37.Sudoku Solver
- 49.Group Anagrams
- 54.Spiral Matrix
- 55.Jump Game
- 56.Merge Intervals
- 61.Rotate List
- 74.Search A 2D Matrix
- 79.Word Search
- 81.Searchin Rotated Sorted Array II
- 82.Remove Duplicates From Sorted List II
- 83.Remove Duplicates from Sorted List
- 86.Partition List
- 92.Reverse Linked List II
- 94.Binary Tree Inorder Traversal
- 95.Unique Binary Search Trees II
- 98.Validate Binary Search Tree
- 100.Same Tree
- 101.Symmetric Tree
- 102.Binary Tree Level Order Traversal
- 103.Binary Tree Zigzag Level Order Traversal
- 104. Maximum Depth of Binary Tree
- 107. Binary Tree Level Order Traversal II
- 108. Convert Sorted Array to Binary Search Tree
- 109.Convert Sorted List to Binary Search Tree
- 110.Balanced Binary Tree
- 111.Minimum Depth of Binary Tree
- 112.Path Sum
- 113. Path Sum II
- 114.Flatten Binary Tree To Linked List
- 116.Populating Next Right Pointers in Each Node
- 129.Sum Root to Leaf Numbers
- 136. Single Number
- 141.Linked List Cycle
- 142.Linked List Cycle II
- 143.Reorder List
- 145. Binary Tree Postorder Traversal
- 147.Insertion Sort List
- 154.Find Minimum in Rotated Sorted Array II
- 156.Binary Tree Upside Down
- 159. Longest Substring with At Most Two Distinct Characters
- 160.Intersection Of Two Linked Lists
- 162.Find Peak Element
- 163.Missing Ranges
- 170.TwoSum III
- 173. Binary Search Tree Iterator
- 187.Repeated DNA Sequences
- 202.Happy Number
- 203.Remove Linked List Elements
- 204.Count Primes
- 205.Isomorphic Strings
- 206.Reverse Linked List
- 209.Minimum Size Subarray Sum
- 226.Invert Binary Tree
- 230. Kth Smallest Element in a BST
- 234.Palindrome Linked List
- 237.Delete Node In A LinkedList
- 242.Valid Anagram
- 244.Shortest Word Distance II
- 246.Strobo grammatic Number
- 249.Group Shifted Strings
- 266. Palindrome Permutation
- 272.Closest Binary Search Tree Value II
- 277.Find The Celebrity
- 290.Word Pattern
- 299.Bulls And Cows
- 311. Sparse Matrix Multiplication
- 328.Odd Even Linked List
- 347. Top K Frequent Elements
- 349.Intersection of Two Arrays
- 350.Intersection of Two Arrays II
- 359.Logger Rate Limiter
- 369.Plus One Linked List
- 379.Design Phone Directory
- 389.Find The Difference
- 409.Longest Palindrome
- 429.N-ary Tree Level Order Traversal
- 445.Add Two Numbers II
- 447.Number of Boomerangs
- 451. Sort Characters By Frequency
- 454.4Sum II
- 463.Island Perimeter
- 500.Keyboard Row
- 513.Find Bottom Left Tree Value
- 535.Encode and Decode TinyURL
- 554.Brick Wall
- 559.Maximum Depth of N-ary Tree
- 560.Subarray Sum Equals K
- 575.Distribute Candies
- 589. N-ary Tree Preorder Traversal
- 590. N-ary Tree Postorder Traversal
- 594.Longest Harmonious Subsequence
- 599.Minimum Index Sum of Two Lists
- 609.Find Duplicate File in System
- 617.Merge Two Binary Trees
- 648.Word Replace
- 654.Maximum Binary Tree
- 669.Trim a Binary Search Tree
- 670.Maximum Swap
- 676.Implement Magic Dictionary
- 690.Employee Importance
- 692.Top K Frequent Words
- 700. Search in a Binary Search Tree
- 701.Insert Into A Binary Search Tree
- 705.Design Hash Set
- 725.Split Linked List In Parts
- 748.Shortest Completing Word
- 771.Jewels And Stones
- 729.My Calendar I
- 734. Sentence Similarity
- 739.Daily Temperatures
- 760.Find Anagram Mappings
- 814.Binary Tree Pruning
- 817.Linked List Components
- 825.Friends Of Appropriate Ages
- 876.Middle Of The LinkedList
- 881.Subdomain Visit Count
- 884. Uncommon Words from Two Sentences
- 900.RLEIterator
- 915.Partition Array into Disjoint Intervals
- 926.Flip String To Monotone Increasing
- 938.Range Sum Of BST
- 945.Minimum Increment to Make Array Unique
- 953.Verifying an Alien Dictionary
- 961. N-Repeated Element in Size 2N Array
- 962.Maximum Width Ramp
- 965.Univalued Binary Tree
- 1007.Minimum Domino Rotations For Equal Row
- 1008.Construct Binary Search Tree from Preorder Traversal
- 1011.Capacity To Ship Packages Within D Days
- 1014.Best Sightseeing Pair
- 1078.Occurrences After Bigram