Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

winterthinklinux/leetcode-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

177 Commits

Repository files navigation

###LeetCode

# problem solution
226 Valid Anagram
225 Different Ways to Add Parentheses
224 Search a 2D Matrix II C++
223 Sliding Window Maximum C++
222 Product of Array Except Self C++
221 Delete Node in a Linked List C++
220 Lowest Common Ancestor of a Binary Tree C++
219 Lowest Common Ancestor of a Binary Search Tree C++
218 Palindrome Linked List C++
217 Number of Digit One C++
216 Implement Queue using Stacks C++
215 Power of Two C++
214 Kth Smallest Element in a BST C++
213 Majority Element II C++
212 Summary Ranges C++
211 Basic Calculator II C++
210 Invert Binary Tree C++
209 Implement Stack using Queues C++
208 Basic Calculator C++
207 Rectangle Area C++
206 Count Complete Tree Nodes C++
205 Maximal Square C++
204 Contains Duplicate III C++
203 Contains Duplicate II C++
202 The Skyline Problem C++
201 Contains Duplicate C++
200 Combination Sum III C++
199 Kth Largest Element in an Array C++
198 Shortest Palindrome C++
197 House Robber II C++
196 Word Search II C++
195 Add and Search Word - Data structure design C++
194 Course Schedule II C++
193 Minimum Size Subarray Sum C++
192 Implement Trie (Prefix Tree) C++
191 Course Schedule C++
190 Reverse Linked List C++
189 Isomorphic Strings C++
188 Count Primes C++
187 Remove Linked List Elements C++
186 Happy Number C++
185 Bitwise AND of Numbers Range C++
184 Number of Islands C++
183 Binary Tree Right Side View C++
182 House Robber C++
181 Number of 1 Bits C++
180 Reverse Bits C++
179 Rotate Array C++
178 Best Time to Buy and Sell Stock IV C++
177 Repeated DNA Sequences C++
176 Reverse Words in a String II C++
175 Largest Number C++
174 Dungeon Game C++
173 Binary Search Tree Iterator C++
172 Factorial Trailing Zeroes C++
171 Excel Sheet Column Number C++
170 Two Sum III - Data structure design C++
169 Majority Element C++
168 Excel Sheet Column Title C++
167 Two Sum II - Input array is sorted C++
166 Fraction to Recurring Decimal C++
165 Compare Version Numbers C++
164 Maximum Gap C++
163 Missing Ranges C++
162 Find Peak Element C++
161 One Edit Distance C++
160 Intersection of Two Linked Lists C++
159 Longest Substring with At Most Two Distinct Characters C++
158 Read N Characters Given Read4 II - Call multiple times C++
157 Read N Characters Given Read4 C++
156 Binary Tree Upside Down C++
155 Min Stack C++
154 Find Minimum in Rotated Sorted Array II C++
153 Find Minimum in Rotated Sorted Array C++
152 Maximum Product Subarray C++
151 Reverse Words in a String C++
150 Evaluate Reverse Polish Notation C++
149 Max Points on a Line C++
148 Sort List C++
147 Insertion Sort List C++
146 LRU Cache C++
145 Binary Tree Postorder Traversal C++
144 Binary Tree Preorder Traversal C++
143 Reorder List C++
142 Linked List Cycle II C++
141 Linked List Cycle C++
140 Word Break II C++
139 Word Break C++
138 Copy List with Random Pointer C++
137 Single Number II C++
136 Single Number C++
135 Candy C++
134 Gas Station C++
133 Clone Graph C++
132 Palindrome Partitioning II C++
131 Palindrome Partitioning C++
130 Surrounded Regions C++
129 Sum Root to Leaf Numbers C++
128 Longest Consecutive Sequence C++
127 Word Ladder II C++
126 Word Ladder C++
125 Valid Palindrome C++
124 Binary Tree Maximum Path Sum C++
123 Best Time to Buy and Sell Stock III C++
122 Best Time to Buy and Sell Stock II C++
121 Best Time to Buy and Sell Stock C++
120 Triangle C++
119 Pascal's Triangle II C++
118 Pascal's Triangle C++
117 Populating Next Right Pointers in Each Node II C++
116 Populating Next Right Pointers in Each Node C++
115 Distinct Subsequences C++
114 Flatten Binary Tree to Linked List C++
113 Path Sum II C++
112 Path Sum C++
111 Minimum Depth of Binary Tree C++
110 Balanced Binary Tree C++
109 Convert Sorted List to Binary Search Tree C++
108 Convert Sorted Array to Binary Search Tree C++
107 Binary Tree Level Order Traversal II C++
106 Construct Binary Tree from Inorder and Postorder Traversal C++
105 Construct Binary Tree from Preorder and Inorder Traversal C++
104 Maximum Depth of Binary Tree C++
103 Binary Tree Zigzag Level Order Traversal C++
102 Binary Tree Level Order Traversal C++
101 Symmetric Tree C++
100 Same Tree C++
99 Recover Binary Search Tree C++
98 Validate Binary Search Tree C++
97 Interleaving String C++
96 Unique Binary Search Trees II C++
95 Unique Binary Search Trees C++
94 Binary Tree Inorder Traversal C++
93 Restore IP Addresses C++
92 Reverse Linked List II C++
91 Subsets II C++
90 Decode Ways C++
89 Gray Code C++
88 Merge Sorted Array C++
87 Scramble String C++
86 Partition List C++
85 Maximal Rectangle C++
84 Largest Rectangle in Histogram C++
83 Remove Duplicates from Sorted List II C++
82 Remove Duplicates from Sorted List C++
81 Search in Rotated Sorted Array II C++
80 Remove Duplicates from Sorted Array II C++
79 Word Search C++
78 Subsets C++
77 Combinations C++
76 Minimum Window Substring C++
75 Sort Colors C++
74 Search a 2D Matrix C++
73 Set Matrix Zeroes C++
72 Edit Distance C++
71 Simplify Path C++
70 Climbing Stairs C++
69 Sqrt(x) C++
68 Text Justification C++
67 Plus One C++
66 Valid Number C++
65 Add Binary C++
64 Merge Two Sorted Lists C++
63 Minimum Path Sum C++
62 Unique Paths II C++
61 Unique Paths C++
60 Rotate List C++
59 Permutation Sequence C++
58 Spiral Matrix II C++
57 Length of Last Word C++
56 Insert Interval C++
55 Merge Intervals C++
54 Jump Game C++
53 Spiral Matrix C++
52 Maximum Subarray C++
51 N-Queens II C++
50 N-Queens C++
49 "Pow(x, n)" C++
48 Group Anagrams C++
47 Rotate Image C++
46 Permutations II C++
45 Permutations C++
44 Jump Game II C++
43 Wildcard Matching C++
42 Multiply Strings C++
41 Trapping Rain Water C++
40 First Missing Positive C++
39 Combination Sum II C++
38 Combination Sum C++
37 Count and Say C++
36 Sudoku Solver C++
35 Valid Sudoku C++
34 Search Insert Position C++
33 Search for a Range C++
32 Search in Rotated Sorted Array C++
31 Longest Valid Parentheses C++
30 Next Permutation C++
29 Substring with Concatenation of All Words C++
28 Divide Two Integers C++
27 Implement strStr() C++
26 Remove Element C++
25 Remove Duplicates from Sorted Array C++
24 Reverse Nodes in k-Group C++
23 Swap Nodes in Pairs C++
22 Merge k Sorted Lists C++
21 Generate Parentheses C++
20 Valid Parentheses
19 Remove Nth Node From End of List
18 Letter Combinations of a Phone Number
17 4Sum
16 3Sum Closest
15 3Sum
14 Longest Common Prefix
13 Roman to Integer
12 Integer to Roman
11 Container With Most Water
10 Regular Expression Matching
9 Palindrome Number
8 String to Integer (atoi)
7 Reverse Integer
6 ZigZag Conversion
5 Longest Palindromic Substring
4 Add Two Numbers
3 Longest Substring Without Repeating Characters
2 Median of Two Sorted Arrays
1 Two Sum [C++/C/Python/Go](./001.Two Sum/)

About

leetcode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 76.3%
  • C 21.2%
  • Go 1.3%
  • Other 1.2%

AltStyle によって変換されたページ (->オリジナル) /