Skip to content

Commit a89af03

Browse files
committed
simple summary
1 parent c9b1540 commit a89af03

File tree

1 file changed

+175
-0
lines changed

1 file changed

+175
-0
lines changed

README.md

+175
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Important Notes:
2+
I would not write coding in Visual Studio, so you can visit solutions by two methonds. One is by my [Blog Column](http://blog.csdn.net/column/details/14761.html), and another direct way is by questions index.
3+
14
## About it
25
Algorithm is tool for exercising our thinking patterns, and we can strengthen the ability to convert mathematical models into code. Whether you are engaged in artificial intelligence, in-depth learning, or advanced software development, no matter what language you use, such as C#,C++,Java,python,etc., and applying the most appropriate algorithm is always the most important point when faced with a specific problem. *Every problem in practice has its own particularity, which makes it not that easier to choose the most appropriate algorithm.* How do we write the algorithm that most efficiently apply to a practical issue? **Yes, LeetCode.** You can write an algorithm until it accepted, and do not rush to do the next question, and learn the solution someone else has submitted, `so you can solve the problem from the ability of solving the problem to that fast and efficient realm`.
36

@@ -30,4 +33,176 @@ solutions using C# for leetcode according to tags of questions
3033
4. Push to the branch: git push origin my-leetcode-csharp
3134
5. Submit a pull request and enjoy! :D
3235

36+
## Array Tag:
37+
35 |[Search Insert Position](http://blog.csdn.net/daigualu/article/details/66995617)
38+
118| [Pascal's Triangle](http://blog.csdn.net/daigualu/article/details/67006388)
39+
119 |[Pascal's Triangle II](http://blog.csdn.net/daigualu/article/details/67069088)
40+
414| [Third Maximum Number](http://blog.csdn.net/daigualu/article/details/68063481)
41+
121| [Best Time to Buy and Sell Stock](http://blog.csdn.net/daigualu/article/details/71038726)
42+
66| [Plus One](http://blog.csdn.net/daigualu/article/details/71056697)
43+
26 |[Remove Duplicates from Sorted Array](http://blog.csdn.net/daigualu/article/details/71064545)
44+
27| [Remove Element](http://blog.csdn.net/daigualu/article/details/71104482)
45+
122 |[Best Time to Buy and Sell Stock II](http://blog.csdn.net/daigualu/article/details/71104584)
46+
268 |[Missing Number](http://blog.csdn.net/daigualu/article/details/69220202)
47+
217| [Contains Duplicate](http://blog.csdn.net/daigualu/article/details/71123673)
48+
532| [K-diff Pairs in an Array](http://blog.csdn.net/daigualu/article/details/71129806)
49+
189| [Rotate Array](http://blog.csdn.net/daigualu/article/details/71159419)
50+
169 |[Majority Element](http://blog.csdn.net/daigualu/article/details/69937729)
51+
167 |[Two Sum II - Input array is sorted](http://blog.csdn.net/daigualu/article/details/69787679)
52+
88 |[Merge Sorted Array](http://blog.csdn.net/daigualu/article/details/69367334)
53+
53 |[Maximum Subarray](http://blog.csdn.net/daigualu/article/details/69936974)
54+
485 |[Max Consecutive Ones](http://blog.csdn.net/daigualu/article/details/71216338)
55+
283 |[Move Zeroes](http://blog.csdn.net/daigualu/article/details/69329038)
56+
448 |[Find All Numbers Disappeared in an Array](http://blog.csdn.net/daigualu/article/details/71168875)
57+
1| [Two Sum](http://blog.csdn.net/daigualu/article/details/68957096)
58+
219 |[Contains Duplicate II](http://blog.csdn.net/daigualu/article/details/71166985)
59+
566| [Reshape the Matrix](http://blog.csdn.net/daigualu/article/details/71275325)
60+
561| [Array Partition I](http://blog.csdn.net/daigualu/article/details/71273279)
61+
62+
## Binary Search:
63+
367 |[Valid Perfect Square](http://blog.csdn.net/daigualu/article/details/69787644)| 37.8%| Easy
64+
270| Closest Binary Search Tree Value| 38.8%| Easy
65+
167 |[Two Sum II - Input array is sorted](http://blog.csdn.net/daigualu/article/details/69787679) |47.4%| Easy
66+
441 |[Arranging Coins](http://blog.csdn.net/daigualu/article/details/69788500)| 36.0%| Easy
67+
35| [Search Insert Position](http://blog.csdn.net/daigualu/article/details/66995617)| 39.3%| Easy
68+
374 |Guess Number Higher or Lower |34.4%| Easy
69+
69 |Sqrt(x) |27.4%| Easy|
70+
278| [First Bad Version](http://blog.csdn.net/daigualu/article/details/69802371) |24.8% |Easy
71+
475| Heaters |29.7%| Easy
72+
350 |[Intersection of Two Arrays II](http://blog.csdn.net/daigualu/article/details/69666351) |44.1%| Easy
73+
349| [Intersection of Two Arrays](http://blog.csdn.net/daigualu/article/details/69666198)| 46.5%| Easy
74+
75+
## Dynamic Programming
76+
53| [Maximum Subarray](http://blog.csdn.net/daigualu/article/details/69936974)| 39.2%| Easy|
77+
169| [Majority Element](http://blog.csdn.net/daigualu/article/details/69937729)| 45.6%| Easy|
78+
303| [Range Sum Query - Immutable](http://blog.csdn.net/daigualu/article/details/69938986)| 27.8%| Easy|
79+
276 |Paint Fence | 34.1%| Easy|
80+
523 |[Continuous Subarray Sum](http://blog.csdn.net/daigualu/article/details/69941770)| 21.6%| Easy|
81+
256| Paint House | 45.9%| Easy|
82+
198| [House Robber](http://blog.csdn.net/daigualu/article/details/69946684)| 38.1%| Easy|
83+
121| Best Time to Buy and Sell Stock|40.1% |Easy|
84+
70| Climbing Stairs |39.2%| Easy|
85+
86+
87+
## HashTable:
88+
136 |[Single number](http://blog.csdn.net/daigualu/article/details/68921131)
89+
1| [Two Sum](http://blog.csdn.net/daigualu/article/details/68957096)
90+
447 |[Number of Boomerangs](http://blog.csdn.net/daigualu/article/details/68958818)
91+
463 |[Island Perimeter](http://blog.csdn.net/daigualu/article/details/68959304)
92+
409 |[Longest Palindrome](http://blog.csdn.net/daigualu/article/details/69053267)
93+
438 |[Find All Anagrams in a String](http://blog.csdn.net/daigualu/article/details/71339879)
94+
389 |[Find the Difference](http://blog.csdn.net/daigualu/article/details/71450823)
95+
350 |[Intersection of Two Arrays II](http://blog.csdn.net/daigualu/article/details/69666351)
96+
349 | [Intersection of Two Arrays](http://blog.csdn.net/daigualu/article/details/69666198)
97+
500 |[Keyboard Row](http://blog.csdn.net/daigualu/article/details/71447614)
98+
217| [Contains Duplicate](http://blog.csdn.net/daigualu/article/details/71123673)
99+
204 | [Count Primes](http://blog.csdn.net/daigualu/article/details/71366483)
100+
202 | [Happy Number](http://blog.csdn.net/daigualu/article/details/71433906)
101+
219 |[Contains Duplicate II](http://blog.csdn.net/daigualu/article/details/71166985)
102+
242 |[Valid Anagram](http://blog.csdn.net/daigualu/article/details/71358552)
103+
290 |[Word Pattern](http://blog.csdn.net/daigualu/article/details/71358552)
104+
205 |[Isomorphic Strings](http://blog.csdn.net/daigualu/article/details/71357419)
105+
106+
## Linked List
107+
108+
141 | [Linked List Cycle](http://blog.csdn.net/daigualu/article/details/69055927)
109+
237 | [Delete Node in a Linked List](http://blog.csdn.net/daigualu/article/details/69055991)
110+
83 | [Remove Duplicates from Sorted List](http://blog.csdn.net/daigualu/article/details/69093677)
111+
160 | [Intersection of Two Linked Lists](http://blog.csdn.net/daigualu/article/details/69526717)
112+
203 |[Remove Linked List Elements](http://blog.csdn.net/daigualu/article/details/69389243)
113+
206 | [Reverse Linked List](http://blog.csdn.net/daigualu/article/details/69372119)
114+
234 | [Palindrome Linked List](http://blog.csdn.net/daigualu/article/details/69388513)
115+
21 | [Merge Two Sorted Lists](http://blog.csdn.net/daigualu/article/details/69565969)
116+
117+
## Math:
118+
231 | [Power of Two](http://blog.csdn.net/daigualu/article/details/69102931)
119+
268| [Missing Number](http://blog.csdn.net/daigualu/article/details/69220202)
120+
507 | [Perfect Number](http://blog.csdn.net/daigualu/article/details/69233798)
121+
9| [Palindrome Number](http://blog.csdn.net/daigualu/article/details/72717009)
122+
453 | [Minimum Moves to Equal Array Elements](http://blog.csdn.net/daigualu/article/details/72354061)
123+
13 |Roman to Integer
124+
441 |[Arranging Coins]()
125+
415| [Add Strings](http://blog.csdn.net/daigualu/article/details/72356377)
126+
400 |[Nth Digit](http://blog.csdn.net/daigualu/article/details/72572244)
127+
367 |Valid Perfect Square
128+
66| [Plus One](http://blog.csdn.net/daigualu/article/details/71056697)
129+
7| [Reverse Integer](http://blog.csdn.net/daigualu/article/details/72464418)
130+
204 |[Count Primes](http://blog.csdn.net/daigualu/article/details/71366483)
131+
202 |[Happy Number](http://blog.csdn.net/daigualu/article/details/71433906)
132+
172 |Factorial Trailing Zeroes
133+
171 |[Excel Sheet Column Number](http://blog.csdn.net/daigualu/article/details/72717145)
134+
168 |[Excel Sheet Column Title](http://blog.csdn.net/daigualu/article/details/72638706)
135+
258 |Add Digits
136+
263 |Ugly Number
137+
69| [Sqrt(x)](http://blog.csdn.net/daigualu/article/details/72578272)
138+
67 |[Add Binary](http://blog.csdn.net/daigualu/article/details/72638937)
139+
246 |Strobogrammatic Number
140+
326 |Power of Three
141+
142+
## Stack:
143+
225|[Implement Stack using Queues](http://blog.csdn.net/daigualu/article/details/70183272)| 32.0%| Easy
144+
496| [Next Greater Element I](http://blog.csdn.net/daigualu/article/details/70185529) |57.5% |Easy
145+
155| [Min Stack](http://blog.csdn.net/daigualu/article/details/70185814)| 27.4%| Easy
146+
232| [Implement Queue using Stacks](http://blog.csdn.net/daigualu/article/details/70186010)| 35.8%| Easy
147+
20| [Valid Parentheses](http://blog.csdn.net/daigualu/article/details/69569622)| 32.9%| Easy
148+
149+
## String:
150+
151+
58| [Length of Last Word](http://blog.csdn.net/daigualu/article/details/69568460)| 31.5%| Easy
152+
20 |[Valid Parentheses](http://blog.csdn.net/daigualu/article/details/69569622) |32.8% |Easy
153+
520 |[Detect Capital](http://blog.csdn.net/daigualu/article/details/69663210)| 52.5%| Easy
154+
459 |[Repeated Substring Pattern](http://blog.csdn.net/daigualu/article/details/69663545)| 38.4%| Easy
155+
434 |[Number of Segments in a String](http://blog.csdn.net/daigualu/article/details/69664369) |37.0% |Easy
156+
408 |Valid Word Abbreviation | 27.5% |Easy
157+
13 |Roman to Integer |44.6%| Easy
158+
14 |[Longest Common Prefix](http://blog.csdn.net/daigualu/article/details/69665015) |31.0% |Easy
159+
383 |[Ransom Note](http://blog.csdn.net/daigualu/article/details/69665190) |46.5% |Easy
160+
521 |Longest Uncommon Subsequence I |46.1% |Easy
161+
345 |Reverse Vowels of a String| 37.9% |Easy
162+
28 |Implement strStr() |27.5% |Easy
163+
344 |Reverse String| 58.2%| Easy
164+
293 |Flip Game |54.8% |Easy
165+
38 |Count and Say |33.4% |Easy
166+
157 |Read N Characters Given Read4 | 29.2%| Easy
167+
541 |Reverse String II |44.1% |Easy
168+
125 |Valid Palindrome |25.8% |Easy
169+
67 |Add Binary |31.3% |Easy
170+
171+
## Tree:
172+
107| [Binary Tree Level Order Traversal II](http://blog.csdn.net/daigualu/article/details/70254459)| 39.0%| Easy
173+
257 |[Binary Tree Paths](http://blog.csdn.net/daigualu/article/details/70340125)| 36.8%| Easy
174+
501 |[Find Mode in Binary Search Tree](http://blog.csdn.net/daigualu/article/details/70341143)| 38.4%| Easy
175+
437 |[Path Sum III](http://blog.csdn.net/daigualu/article/details/70342773)| 39.3% |Easy
176+
404 |[Sum of Left Leaves](http://blog.csdn.net/daigualu/article/details/70482270)| 46.5%| Easy
177+
112 |[Path Sum](http://blog.csdn.net/daigualu/article/details/70482285)| 33.5% |Easy
178+
110 |[Balanced Binary Tree](http://blog.csdn.net/daigualu/article/details/70482667)| 36.8% |Easy
179+
108 |[Convert Sorted Array to Binary Search Tree](http://blog.csdn.net/daigualu/article/details/70485834)| 41.3%| Easy
180+
543 |[Diameter of Binary Tree](http://blog.csdn.net/daigualu/article/details/70491447)| 42.3%| Easy
181+
226 |[Invert Binary Tree](http://blog.csdn.net/daigualu/article/details/70536685)| 50.8%| Easy
182+
235 |[Lowest Common Ancestor of a Binary Search Tree](http://blog.csdn.net/daigualu/article/details/70539096)| 38.5%| Easy
183+
104 |[Maximum Depth of Binary Tree](http://blog.csdn.net/daigualu/article/details/70541420)| 51.7%| Easy
184+
111| [Minimum Depth of Binary Tree](http://blog.csdn.net/daigualu/article/details/70543969)| 32.7% |Easy
185+
101 |[Symmetric Tree](http://blog.csdn.net/daigualu/article/details/70544774)| 37.9%| Easy
186+
100| [Same Tree](http://blog.csdn.net/daigualu/article/details/70254478)| 45.8%| Easy
187+
188+
## Two Pointers:
189+
345 |[Reverse Vowels of a String](http://blog.csdn.net/daigualu/article/details/69257693)
190+
125 |[Valid Palindrome](http://blog.csdn.net/daigualu/article/details/69265381)
191+
283| [Move Zeroes](http://blog.csdn.net/daigualu/article/details/69329038)
192+
88 |[Merge Sorted Array](http://blog.csdn.net/daigualu/article/details/69367334)
193+
234| [Palindrome Linked List](http://blog.csdn.net/daigualu/article/details/69388513)
194+
349 |Intersection of Two Arrays
195+
167 |[Two Sum II - Input array is sorted](http://blog.csdn.net/daigualu/article/details/69787679)
196+
350| Intersection of Two Arrays II
197+
344| Reverse String
198+
28| Implement strStr()
199+
27 |Remove Element
200+
26| Remove Duplicates from Sorted Array
201+
141| Linked List Cycle
202+
532| K-diff Pairs in an Array
203+
204+
205+
206+
207+
33208

0 commit comments

Comments
 (0)