| 题号 | 题目名称 | 中文名称 | 难度 | 标签 | 目录 |
|---|---|---|---|---|---|
| 1 | Two Sum | Two Sum | 简单 | 无 | l1/ |
| 2 | Add Two Numbers | Add Two Numbers | 中等 | 无 | l2/ |
| 3 | Longest Substring Without Repeating Characters | Longest Substring Without Repeating Characters | 中等 | 无 | l3_v2/ |
| 3 | Longest Substring Without Repeating Characters | Longest Substring Without Repeating Characters | 中等 | 无 | l3/ |
| 4 | Median of Two Sorted Arrays | Median of Two Sorted Arrays | 困难 | 无 | l4/ |
| 7 | Reverse Integer | Reverse Integer | 中等 | 无 | l7/ |
| 9 | Palindrome Number | Palindrome Number | 简单 | 无 | l9/ |
| 11 | Container With Most Water | Container With Most Water | 中等 | 无 | l11/ |
| 14 | Longest Common Prefix | Longest Common Prefix | 简单 | 无 | l14/ |
| 15 | 3Sum | 3Sum | 中等 | 无 | l15/ |
| 18 | 4Sum | 4Sum | 中等 | 无 | l18/ |
| 19 | Remove Nth Node From End of List | Remove Nth Node From End of List | 中等 | 无 | l19/ |
| 20 | Valid Parentheses | Valid Parentheses | 简单 | 无 | l20/ |
| 21 | Merge Two Sorted Lists | Merge Two Sorted Lists | 简单 | 无 | l21/ |
| 23 | Merge k Sorted Lists | Merge k Sorted Lists | 困难 | 无 | l23/ |
| 24 | Swap Nodes in Pairs | Swap Nodes in Pairs | 中等 | 无 | l24/ |
| 26 | Remove Duplicates from Sorted Array | Remove Duplicates from Sorted Array | 简单 | 无 | l26/ |
| 29 | Divide Two Integers | Divide Two Integers | 中等 | 无 | l29/ |
| 33 | Search in Rotated Sorted Array | Search in Rotated Sorted Array | 中等 | 无 | l33/ |
| 34 | Find First and Last Position of Element in Sorted Array | Find First and Last Position of Element in Sorted Array | 中等 | 无 | l34/ |
| 35 | Search Insert Position | Search Insert Position | 简单 | 无 | l35/ |
| 39 | Combination Sum | Combination Sum | 中等 | 无 | l39/ |
| 45 | Jump Game II | Jump Game II | 中等 | 无 | l45/ |
| 49 | Group Anagrams | Group Anagrams | 中等 | 无 | l49/ |
| 55 | Jump Game | Jump Game | 中等 | 无 | l55/ |
| 56 | Merge Intervals | Merge Intervals | 中等 | 无 | l56/ |
| 61 | Rotate List | Rotate List | 中等 | 无 | l61/ |
| 62 | Unique Paths | Unique Paths | 中等 | 无 | l62/ |
| 65 | Valid Number | Valid Number | 困难 | 无 | l65/ |
| 67 | Add Binary | Add Binary | 简单 | 无 | l67/ |
| 69 | Sqrt(x) | Sqrt(x) | 简单 | 无 | l69/ |
| 70 | Climbing Stairs | Climbing Stairs | 简单 | 无 | l70/ |
| 74 | Search a 2D Matrix | Search a 2D Matrix | 中等 | 无 | l74/ |
| 75 | Sort Colors | Sort Colors | 中等 | 无 | l75/ |
| 76 | Minimum Window Substring | Minimum Window Substring | 困难 | 无 | l76/ |
| 77 | Combinations | Combinations | 中等 | 无 | l77/ |
| 78 | Subsets | Subsets | 中等 | 无 | l78/ |
| 80 | Remove Duplicates from Sorted Array II | Remove Duplicates from Sorted Array II | 中等 | 无 | l80/ |
| 81 | Search in Rotated Sorted Array II | Search in Rotated Sorted Array II | 中等 | 无 | l81/ |
| 84 | Largest Rectangle in Histogram | Largest Rectangle in Histogram | 困难 | 无 | l84_l85/ |
| 85 | Maximal Rectangle | Maximal Rectangle | 困难 | 无 | l84_l85/ |
| 88 | Merge Sorted Array | Merge Sorted Array | 简单 | 无 | l88/ |
| 94 | Binary Tree Inorder Traversal | Binary Tree Inorder Traversal | 简单 | 无 | l94/ |
| 95 | Unique Binary Search Trees II | Unique Binary Search Trees II | 中等 | 无 | l95/ |
| 96 | Unique Binary Search Trees | Unique Binary Search Trees | 中等 | 无 | l96/ |
| 100 | Same Tree | Same Tree | 简单 | 无 | l100/ |
| 101 | Symmetric Tree | Symmetric Tree | 简单 | 无 | l101/ |
| 102 | Binary Tree Level Order Traversal | Binary Tree Level Order Traversal | 中等 | 无 | l102/ |
| 104 | Maximum Depth of Binary Tree | Maximum Depth of Binary Tree | 简单 | 无 | l104/ |
| 108 | Convert Sorted Array to Binary Search Tree | Convert Sorted Array to Binary Search Tree | 简单 | 无 | l108/ |
| 110 | Balanced Binary Tree | Balanced Binary Tree | 简单 | 无 | l110/ |
| 114 | Flatten Binary Tree to Linked List | Flatten Binary Tree to Linked List | 中等 | 无 | l114/ |
| 120 | Triangle | Triangle | 中等 | 无 | l120/ |
| 121 | Best Time to Buy and Sell Stock | Best Time to Buy and Sell Stock | 简单 | 无 | l121/ |
| 122 | Best Time to Buy and Sell Stock II | Best Time to Buy and Sell Stock II | 中等 | 无 | l122/ |
| 124 | Binary Tree Maximum Path Sum | Binary Tree Maximum Path Sum | 困难 | 无 | l124/ |
| 125 | Valid Palindrome | Valid Palindrome | 简单 | 无 | l125/ |
| 129 | Sum Root to Leaf Numbers | Sum Root to Leaf Numbers | 中等 | 无 | l129/ |
| 136 | Single Number | Single Number | 简单 | 无 | l136/ |
| 137 | Single Number II | Single Number II | 中等 | 无 | l137/ |
| 138 | Copy List with Random Pointer | Copy List with Random Pointer | 中等 | 无 | l138/ |
| 141 | Linked List Cycle | Linked List Cycle | 简单 | 无 | l141_l142/ |
| 142 | Linked List Cycle II | Linked List Cycle II | 中等 | 无 | l141_l142/ |
| 143 | Reorder List | Reorder List | 中等 | 无 | l143/ |
| 144 | Binary Tree Preorder Traversal | Binary Tree Preorder Traversal | 简单 | 无 | l144/ |
| 145 | Binary Tree Postorder Traversal | Binary Tree Postorder Traversal | 简单 | 无 | l145/ |
| 146 | LRU Cache | LRU Cache | 中等 | 无 | l146/ |
| 147 | Insertion Sort List | Insertion Sort List | 中等 | 无 | l147/ |
| 148 | Sort List | Sort List | 中等 | 无 | l148/ |
| 150 | Evaluate Reverse Polish Notation | Evaluate Reverse Polish Notation | 中等 | 无 | l150/ |
| 151 | Reverse Words in a String | Reverse Words in a String | 中等 | 无 | l151/ |
| 155 | Min Stack | Min Stack | 中等 | 无 | l155/ |
| 160 | Intersection of Two Linked Lists | Intersection of Two Linked Lists | 简单 | 无 | l160/ |
| 167 | Two Sum II - Input Array Is Sorted | Two Sum II - Input Array Is Sorted | 中等 | 无 | l167/ |
| 169 | Majority Element | Majority Element | 简单 | 无 | l169/ |
| 173 | Binary Search Tree Iterator | Binary Search Tree Iterator | 中等 | 无 | l173/ |
| 191 | Number of 1 Bits | Number of 1 Bits | 简单 | 无 | l191/ |
| 198 | House Robber | House Robber | 中等 | 无 | l198/ |
| 199 | Binary Tree Right Side View | Binary Tree Right Side View | 中等 | 无 | l199/ |
| 206 | Reverse Linked List | Reverse Linked List | 简单 | 无 | l206/ |
| 207 | Course Schedule | Course Schedule | 中等 | 无 | l207/ |
| 208 | Implement Trie (Prefix Tree) | Implement Trie (Prefix Tree) | 中等 | 无 | l208/ |
| 209 | Minimum Size Subarray Sum | Minimum Size Subarray Sum | 中等 | 无 | l209/ |
| 210 | Course Schedule II | Course Schedule II | 中等 | 无 | l210/ |
| 215 | Kth Largest Element in an Array | Kth Largest Element in an Array | 中等 | 无 | l215/ |
| 220 | Contains Duplicate III | Contains Duplicate III | 困难 | 无 | l220/ |
| 226 | Invert Binary Tree | Invert Binary Tree | 简单 | 无 | l226/ |
| 231 | Power of Two | Power of Two | 简单 | 无 | l231/ |
| 232 | Implement Queue using Stacks | Implement Queue using Stacks | 简单 | 无 | l232/ |
| 234 | Palindrome Linked List | Palindrome Linked List | 简单 | 无 | l234/ |
| 242 | Valid Anagram | Valid Anagram | 简单 | 无 | l242/ |
| 258 | Add Digits | Add Digits | 简单 | 无 | l258/ |
| 260 | Single Number III | Single Number III | 中等 | 无 | l260/ |
| 287 | Find the Duplicate Number | Find the Duplicate Number | 中等 | 无 | l287/ |
| 297 | Serialize and Deserialize Binary Tree | Serialize and Deserialize Binary Tree | 困难 | 无 | l297/ |
| 304 | Range Sum Query 2D - Immutable | Range Sum Query 2D - Immutable | 中等 | 无 | l304/ |
| 310 | Minimum Height Trees | Minimum Height Trees | 中等 | 无 | l310/ |
| 316 | Remove Duplicate Letters | Remove Duplicate Letters | 中等 | 无 | l316/ |
| 318 | Maximum Product of Word Lengths | Maximum Product of Word Lengths | 中等 | 无 | l318/ |
| 338 | Counting Bits | Counting Bits | 简单 | 无 | l338/ |
| 341 | Flatten Nested List Iterator | Flatten Nested List Iterator | 中等 | 无 | l341/ |
| 342 | Power of Four | Power of Four | 简单 | 无 | l342/ |
| 343 | Integer Break | Integer Break | 中等 | 无 | l343/ |
| 347 | Top K Frequent Elements | Top K Frequent Elements | 中等 | 无 | l347/ |
| 373 | Find K Pairs with Smallest Sums | Find K Pairs with Smallest Sums | 中等 | 无 | l373/ |
| 380 | Insert Delete GetRandom O(1) | Insert Delete GetRandom O(1) | 中等 | 无 | l380/ |
| 421 | Maximum XOR of Two Numbers in an Array | Maximum XOR of Two Numbers in an Array | 中等 | 无 | l421/ |
| 437 | Path Sum III | Path Sum III | 中等 | 无 | l437/ |
| 438 | Find All Anagrams in a String | Find All Anagrams in a String | 中等 | 无 | l438/ |
| 445 | Add Two Numbers II | Add Two Numbers II | 中等 | 无 | l445/ |
| 513 | Find Bottom Left Tree Value | Find Bottom Left Tree Value | 中等 | 无 | l513/ |
| 515 | Find Largest Value in Each Tree Row | Find Largest Value in Each Tree Row | 中等 | 无 | l515/ |
| 525 | Contiguous Array | Contiguous Array | 中等 | 无 | l525/ |
| 528 | Random Pick with Weight | Random Pick with Weight | 中等 | 无 | l528/ |
| 538 | Convert BST to Greater Tree | Convert BST to Greater Tree | 中等 | 无 | l538/ |
| 539 | Minimum Time Difference | Minimum Time Difference | 中等 | 无 | l539/ |
| 540 | Single Element in a Sorted Array | Single Element in a Sorted Array | 中等 | 无 | l540/ |
| 541 | Reverse String II | Reverse String II | 简单 | 无 | l541/ |
| 560 | Subarray Sum Equals K | Subarray Sum Equals K | 中等 | 无 | l560/ |
| 567 | Permutation in String | Permutation in String | 中等 | 无 | l567/ |
| 647 | Palindromic Substrings | Palindromic Substrings | 中等 | 无 | l647/ |
| 648 | Replace Words | Replace Words | 中等 | 无 | l648/ |
| 653 | Two Sum IV - Input is a BST | Two Sum IV - Input is a BST | 简单 | 无 | l653/ |
| 662 | Maximum Width of Binary Tree | Maximum Width of Binary Tree | 中等 | 无 | l662/ |
| 676 | Implement Magic Dictionary | Implement Magic Dictionary | 中等 | 无 | l676/ |
| 677 | Map Sum Pairs | Map Sum Pairs | 中等 | 无 | l677/ |
| 680 | Valid Palindrome II | Valid Palindrome II | 简单 | 无 | l680/ |
| 703 | Kth Largest Element in a Stream | Kth Largest Element in a Stream | 简单 | 无 | l703/ |
| 704 | Binary Search | Binary Search | 简单 | 无 | l704/ |
| 713 | Subarray Product Less Than K | Subarray Product Less Than K | 中等 | 无 | l713/ |
| 724 | Find Pivot Index | Find Pivot Index | 简单 | 无 | l724/ |
| 729 | My Calendar I | My Calendar I | 中等 | 无 | l729/ |
| 735 | Asteroid Collision | Asteroid Collision | 中等 | 无 | l735/ |
| 739 | Daily Temperatures | Daily Temperatures | 中等 | 无 | l739/ |
| 740 | Delete and Earn | Delete and Earn | 中等 | 无 | l740/ |
| 760 | Find Anagram Mappings | Find Anagram Mappings | 简单 | 无 | l760/ |
| 814 | Binary Tree Pruning | Binary Tree Pruning | 中等 | 无 | l814/ |
| 820 | Short Encoding of Words | Short Encoding of Words | 中等 | 无 | l820/ |
| 844 | Backspace String Compare | Backspace String Compare | 简单 | 无 | l844/ |
| 852 | Peak Index in a Mountain Array | Peak Index in a Mountain Array | 中等 | 无 | l852/ |
| 875 | Koko Eating Bananas | Koko Eating Bananas | 中等 | 无 | l875/ |
| 876 | Middle of the Linked List | Middle of the Linked List | 简单 | 无 | l876/ |
| 897 | Increasing Order Search Tree | Increasing Order Search Tree | 简单 | 无 | l897/ |
| 898 | Bitwise ORs of Subarrays | Bitwise ORs of Subarrays | 中等 | 无 | l898/ |
| 912 | Sort an Array | Sort an Array | 中等 | 无 | l912/ |
| 919 | Complete Binary Tree Inserter | Complete Binary Tree Inserter | 中等 | 无 | l919/ |
| 933 | Number of Recent Calls | Number of Recent Calls | 简单 | 无 | l933/ |
| 953 | Verifying an Alien Dictionary | Verifying an Alien Dictionary | 简单 | 无 | l953/ |
| 1005 | Maximize Sum Of Array After K Negations | Maximize Sum Of Array After K Negations | 简单 | 无 | l1005/ |
| 1122 | Relative Sort Array | Relative Sort Array | 简单 | 无 | l1122/ |
-
Notifications
You must be signed in to change notification settings - Fork 1
bwangelme/LeetCode-Go
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
LeetCode in Go
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published