1
1
<p align =" center " >
2
- <a href =" https://github.com/yanglbme /leetcode " ><img src =" http://p9ucdlghd.bkt.clouddn.com/leetcode-github.png " alt =" LeetCode-GitHub " ></a >
2
+ <a href =" https://github.com/doocs /leetcode " ><img src =" http://p9ucdlghd.bkt.clouddn.com/leetcode-github.png " alt =" LeetCode-GitHub " ></a >
3
3
</p >
4
4
5
5
<p align =" center " >
6
+ <a href =" https://github.com/doocs/leetcode " ><img src =" https://img.shields.io/badge/Lang-Java%2FPython%2FJS%2FCPP%2FGo%2F...-blue.svg " alt =" Language " ></a >
6
7
<a href =" http://makeapullrequest.com " ><img src =" https://img.shields.io/badge/PRs-Welcome-brightgreen.svg " alt =" PRs Welcome " ></a >
7
- <a href =" https://github.com/yanglbme/leetcode " ><img src =" https://img.shields.io/badge/Lang-Java%2FPython%2FJS%2FCPP%2FGo%2F...-blue.svg " alt =" Language " ></a >
8
+ <a href =" https://github.com/doocs/leetcode/issues " ><img src =" https://img.shields.io/github/issues/doocs/leetcode.svg " alt =" issues " ></a >
9
+ <a href =" https://github.com/doocs/leetcode/stargazers " ><img src =" https://img.shields.io/github/stars/doocs/leetcode.svg " alt =" stars " ></a >
10
+ <a href =" https://github.com/doocs/leetcode/network/members " ><img src =" https://img.shields.io/github/forks/doocs/leetcode.svg " alt =" forks " ></a >
8
11
</p >
9
12
10
13
## Introduction
@@ -16,54 +19,55 @@ Complete solutions to Leetcode problems, updated daily.
16
19
17
20
| # | Title | Tags |
18
21
| ---| ---| ---|
19
- | 001 | [ Two Sum] ( https://github.com/yanglbme /leetcode/tree/master/solution/001.Two%20Sum ) | ` Array ` , ` Hash Table ` |
20
- | 007 | [ Reverse Integer] ( https://github.com/yanglbme /leetcode/tree/master/solution/007.Reverse%20Integer ) | ` Math ` |
21
- | 013 | [ Roman to Integer] ( https://github.com/yanglbme /leetcode/tree/master/solution/013.Roman%20to%20Integer ) | ` Math ` , ` String ` |
22
- | 014 | [ Longest Common Prefix] ( https://github.com/yanglbme /leetcode/tree/master/solution/014.Longest%20Common%20Prefix ) | ` String ` |
23
- | 020 | [ Valid Parentheses] ( https://github.com/yanglbme /leetcode/tree/master/solution/020.Valid%20Parentheses ) | ` String ` , ` Stack ` |
24
- | 021 | [ Merge Two Sorted Lists] ( https://github.com/yanglbme /leetcode/tree/master/solution/021.Merge%20Two%20Sorted%20Lists ) | ` Linked List ` |
25
- | 053 | [ Maximum Subarray] ( https://github.com/yanglbme /leetcode/tree/master/solution/053.Maximum%20Subarray ) | ` Array ` , ` Divide and Conquer ` , ` Dynamic Programming ` |
26
- | 070 | [ Climbing Stairs] ( https://github.com/yanglbme /leetcode/tree/master/solution/070.Climbing%20Stairs ) | ` Dynamic Programming ` |
27
- | 083 | [ Remove Duplicates from Sorted List] ( https://github.com/yanglbme /leetcode/tree/master/solution/083.Remove%20Duplicates%20from%20Sorted%20List ) | ` Linked List ` |
28
- | 136 | [ Single Number] ( https://github.com/yanglbme /leetcode/tree/master/solution/136.Single%20Number ) | ` Hash Table ` , ` Bit Manipulation ` |
29
- | 189 | [ Rotate Array] ( https://github.com/yanglbme /leetcode/tree/master/solution/189.Rotate%20Array ) | ` Array ` |
30
- | 198 | [ House Robber] ( https://github.com/yanglbme /leetcode/tree/master/solution/198.House%20Robber ) | ` Dynamic Programming ` |
31
- | 203 | [ Remove Linked List Elements] ( https://github.com/yanglbme /leetcode/tree/master/solution/203.Remove%20Linked%20List%20Elements ) | ` Linked List ` |
32
- | 231 | [ Power of Two] ( https://github.com/yanglbme /leetcode/tree/master/solution/231.Power%20of%20Two ) | ` Math ` , ` Bit Manipulation ` |
33
- | 235 | [ Lowest Common Ancestor of a Binary Search Tree] ( https://github.com/yanglbme /leetcode/tree/master/solution/235.Lowest%20Common%20Ancestor%20of%20a%20Binary%20Search%20Tree ) | ` Tree ` |
34
- | 237 | [ Delete Node in a Linked List] ( https://github.com/yanglbme /leetcode/tree/master/solution/237.Delete%20Node%20in%20a%20Linked%20List ) | ` Linked List ` |
35
- | 344 | [ Reverse String] ( https://github.com/yanglbme /leetcode/tree/master/solution/344.Reverse%20String ) | ` Two Pointers ` , ` String ` |
36
- | 876 | [ Middle of the Linked List] ( https://github.com/yanglbme /leetcode/tree/master/solution/876.Middle%20of%20the%20Linked%20List ) | ` Linked List ` |
22
+ | 001 | [ Two Sum] ( https://github.com/doocs /leetcode/tree/master/solution/001.Two%20Sum ) | ` Array ` , ` Hash Table ` |
23
+ | 007 | [ Reverse Integer] ( https://github.com/doocs /leetcode/tree/master/solution/007.Reverse%20Integer ) | ` Math ` |
24
+ | 013 | [ Roman to Integer] ( https://github.com/doocs /leetcode/tree/master/solution/013.Roman%20to%20Integer ) | ` Math ` , ` String ` |
25
+ | 014 | [ Longest Common Prefix] ( https://github.com/doocs /leetcode/tree/master/solution/014.Longest%20Common%20Prefix ) | ` String ` |
26
+ | 020 | [ Valid Parentheses] ( https://github.com/doocs /leetcode/tree/master/solution/020.Valid%20Parentheses ) | ` String ` , ` Stack ` |
27
+ | 021 | [ Merge Two Sorted Lists] ( https://github.com/doocs /leetcode/tree/master/solution/021.Merge%20Two%20Sorted%20Lists ) | ` Linked List ` |
28
+ | 053 | [ Maximum Subarray] ( https://github.com/doocs /leetcode/tree/master/solution/053.Maximum%20Subarray ) | ` Array ` , ` Divide and Conquer ` , ` Dynamic Programming ` |
29
+ | 070 | [ Climbing Stairs] ( https://github.com/doocs /leetcode/tree/master/solution/070.Climbing%20Stairs ) | ` Dynamic Programming ` |
30
+ | 083 | [ Remove Duplicates from Sorted List] ( https://github.com/doocs /leetcode/tree/master/solution/083.Remove%20Duplicates%20from%20Sorted%20List ) | ` Linked List ` |
31
+ | 136 | [ Single Number] ( https://github.com/doocs /leetcode/tree/master/solution/136.Single%20Number ) | ` Hash Table ` , ` Bit Manipulation ` |
32
+ | 189 | [ Rotate Array] ( https://github.com/doocs /leetcode/tree/master/solution/189.Rotate%20Array ) | ` Array ` |
33
+ | 198 | [ House Robber] ( https://github.com/doocs /leetcode/tree/master/solution/198.House%20Robber ) | ` Dynamic Programming ` |
34
+ | 203 | [ Remove Linked List Elements] ( https://github.com/doocs /leetcode/tree/master/solution/203.Remove%20Linked%20List%20Elements ) | ` Linked List ` |
35
+ | 231 | [ Power of Two] ( https://github.com/doocs /leetcode/tree/master/solution/231.Power%20of%20Two ) | ` Math ` , ` Bit Manipulation ` |
36
+ | 235 | [ Lowest Common Ancestor of a Binary Search Tree] ( https://github.com/doocs /leetcode/tree/master/solution/235.Lowest%20Common%20Ancestor%20of%20a%20Binary%20Search%20Tree ) | ` Tree ` |
37
+ | 237 | [ Delete Node in a Linked List] ( https://github.com/doocs /leetcode/tree/master/solution/237.Delete%20Node%20in%20a%20Linked%20List ) | ` Linked List ` |
38
+ | 344 | [ Reverse String] ( https://github.com/doocs /leetcode/tree/master/solution/344.Reverse%20String ) | ` Two Pointers ` , ` String ` |
39
+ | 876 | [ Middle of the Linked List] ( https://github.com/doocs /leetcode/tree/master/solution/876.Middle%20of%20the%20Linked%20List ) | ` Linked List ` |
37
40
38
41
39
42
### Medium
40
43
41
44
| # | Title | Tags |
42
45
| ---| ---| ---|
43
- | 002 | [ Add Two Numbers] ( https://github.com/yanglbme /leetcode/tree/master/solution/002.Add%20Two%20Numbers ) | ` Linked List ` , ` Math ` |
44
- | 015 | [ 3Sum] ( https://github.com/yanglbme /leetcode/tree/master/solution/015.3Sum ) | ` Array ` , ` Two Pointers ` |
45
- | 019 | [ Remove Nth Node From End of List] ( https://github.com/yanglbme /leetcode/tree/master/solution/019.Remove%20Nth%20Node%20From%20End%20of%20List ) | ` Linked List ` , ` Two Pointers ` |
46
- | 024 | [ Swap Nodes in Pairs] ( https://github.com/yanglbme /leetcode/tree/master/solution/024.Swap%20Nodes%20in%20Pairs ) | ` Linked List ` |
47
- | 031 | [ Next Permutation] ( https://github.com/yanglbme /leetcode/tree/master/solution/031.Next%20Permutation ) | ` Array ` |
48
- | 046 | [ Permutations] ( https://github.com/yanglbme /leetcode/tree/master/solution/046.Permutations ) | ` Backtracking ` |
49
- | 047 | [ Permutations II] ( https://github.com/yanglbme /leetcode/tree/master/solution/047.Permutations%20II ) | ` Backtracking ` |
50
- | 062 | [ Unique Paths] ( https://github.com/yanglbme /leetcode/tree/master/solution/062.Unique%20Paths ) | ` Array ` , ` Dynamic Programming ` |
51
- | 063 | [ Unique Paths II] ( https://github.com/yanglbme /leetcode/tree/master/solution/063.Unique%20Paths%20II ) | ` Array ` , ` Dynamic Programming ` |
52
- | 075 | [ Sort Colors] ( https://github.com/yanglbme /leetcode/tree/master/solution/075.Sort%20Colors ) | ` Array ` , ` Two Pointers ` , ` Sort ` |
53
- | 082 | [ Remove Duplicates from Sorted List II] ( https://github.com/yanglbme /leetcode/tree/master/solution/082.Remove%20Duplicates%20from%20Sorted%20List%20II ) | ` Linked List ` |
54
- | 086 | [ Partition List] ( https://github.com/yanglbme /leetcode/tree/master/solution/086.Partition%20List ) | ` Linked List ` , ` Two Pointers ` |
55
- | 092 | [ Reverse Linked List II] ( https://github.com/yanglbme /leetcode/tree/master/solution/092.Reverse%20Linked%20List%20II ) | ` Linked List ` |
56
- | 094 | [ Binary Tree Inorder Traversal] ( https://github.com/yanglbme /leetcode/tree/master/solution/094.Binary%20Tree%20Inorder%20Traversal ) | ` Hash Table ` , ` Stack ` , ` Tree ` |
57
- | 144 | [ Binary Tree Preorder Traversal] ( https://github.com/yanglbme /leetcode/tree/master/solution/144.Binary%20Tree%20Preorder%20Traversal ) | ` Stack ` , ` Tree ` |
58
- | 153 | [ Find Minimum in Rotated Sorted Array] ( https://github.com/yanglbme /leetcode/tree/master/solution/153.Find%20Minimum%20in%20Rotated%20Sorted%20Array ) | ` Array ` , ` Binary Search ` |
46
+ | 002 | [ Add Two Numbers] ( https://github.com/doocs /leetcode/tree/master/solution/002.Add%20Two%20Numbers ) | ` Linked List ` , ` Math ` |
47
+ | 015 | [ 3Sum] ( https://github.com/doocs /leetcode/tree/master/solution/015.3Sum ) | ` Array ` , ` Two Pointers ` |
48
+ | 019 | [ Remove Nth Node From End of List] ( https://github.com/doocs /leetcode/tree/master/solution/019.Remove%20Nth%20Node%20From%20End%20of%20List ) | ` Linked List ` , ` Two Pointers ` |
49
+ | 024 | [ Swap Nodes in Pairs] ( https://github.com/doocs /leetcode/tree/master/solution/024.Swap%20Nodes%20in%20Pairs ) | ` Linked List ` |
50
+ | 031 | [ Next Permutation] ( https://github.com/doocs /leetcode/tree/master/solution/031.Next%20Permutation ) | ` Array ` |
51
+ | 046 | [ Permutations] ( https://github.com/doocs /leetcode/tree/master/solution/046.Permutations ) | ` Backtracking ` |
52
+ | 047 | [ Permutations II] ( https://github.com/doocs /leetcode/tree/master/solution/047.Permutations%20II ) | ` Backtracking ` |
53
+ | 062 | [ Unique Paths] ( https://github.com/doocs /leetcode/tree/master/solution/062.Unique%20Paths ) | ` Array ` , ` Dynamic Programming ` |
54
+ | 063 | [ Unique Paths II] ( https://github.com/doocs /leetcode/tree/master/solution/063.Unique%20Paths%20II ) | ` Array ` , ` Dynamic Programming ` |
55
+ | 075 | [ Sort Colors] ( https://github.com/doocs /leetcode/tree/master/solution/075.Sort%20Colors ) | ` Array ` , ` Two Pointers ` , ` Sort ` |
56
+ | 082 | [ Remove Duplicates from Sorted List II] ( https://github.com/doocs /leetcode/tree/master/solution/082.Remove%20Duplicates%20from%20Sorted%20List%20II ) | ` Linked List ` |
57
+ | 086 | [ Partition List] ( https://github.com/doocs /leetcode/tree/master/solution/086.Partition%20List ) | ` Linked List ` , ` Two Pointers ` |
58
+ | 092 | [ Reverse Linked List II] ( https://github.com/doocs /leetcode/tree/master/solution/092.Reverse%20Linked%20List%20II ) | ` Linked List ` |
59
+ | 094 | [ Binary Tree Inorder Traversal] ( https://github.com/doocs /leetcode/tree/master/solution/094.Binary%20Tree%20Inorder%20Traversal ) | ` Hash Table ` , ` Stack ` , ` Tree ` |
60
+ | 144 | [ Binary Tree Preorder Traversal] ( https://github.com/doocs /leetcode/tree/master/solution/144.Binary%20Tree%20Preorder%20Traversal ) | ` Stack ` , ` Tree ` |
61
+ | 153 | [ Find Minimum in Rotated Sorted Array] ( https://github.com/doocs /leetcode/tree/master/solution/153.Find%20Minimum%20in%20Rotated%20Sorted%20Array ) | ` Array ` , ` Binary Search ` |
59
62
60
63
61
64
### Hard
62
65
63
66
| # | Title | Tags |
64
67
| ---| ---| ---|
65
- | 023 | [ Merge k Sorted Lists] ( https://github.com/yanglbme/leetcode/tree/master/solution/023.Merge%20k%20Sorted%20Lists ) | ` Linked List ` , ` Divide and Conquer ` , ` Heap ` |
66
- | 145 | [ Binary Tree Postorder Traversal] ( https://github.com/yanglbme/leetcode/tree/master/solution/145.Binary%20Tree%20Postorder%20Traversal ) | ` Stack ` , ` Tree ` |
68
+ | 023 | [ Merge k Sorted Lists] ( https://github.com/doocs/leetcode/tree/master/solution/023.Merge%20k%20Sorted%20Lists ) | ` Linked List ` , ` Divide and Conquer ` , ` Heap ` |
69
+ | 032 | [ Longest Valid Parentheses] ( https://github.com/doocs/leetcode/tree/master/solution/032.Longest%20Valid%20Parentheses ) | ` String ` , ` Dynamic Programming ` |
70
+ | 145 | [ Binary Tree Postorder Traversal] ( https://github.com/doocs/leetcode/tree/master/solution/145.Binary%20Tree%20Postorder%20Traversal ) | ` Stack ` , ` Tree ` |
67
71
68
72
## Contributions
69
73
I'm looking for long-term contributors/partners to this repo! Send me PRs if you're interested! See the following:
@@ -73,7 +77,7 @@ I'm looking for long-term contributors/partners to this repo! Send me PRs if you
73
77
## Contributors
74
78
75
79
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
76
- | <center > [ <img src =" https://avatars3.githubusercontent.com/u/21008209?v=4 " width =" 100px; " /><br /><sub ><b >yanglbme </b ></sub >] ( https://github.com/yanglbme ) <br />[ 💻] ( https://github.com/yanglbme /leetcode/commits?author=yanglbme " Code ") </center > | <center > [ <img src =" https://avatars3.githubusercontent.com/u/23625436?v=4 " width =" 100px; " /><br /><sub ><b >chakyam</b ></sub >] ( https://github.com/chakyam ) <br />[ 💻] ( https://github.com/yanglbme /leetcode/commits?author=chakyam " Code ") </center > |
80
+ | <center > [ <img src =" https://avatars3.githubusercontent.com/u/21008209?v=4 " width =" 100px; " /><br /><sub ><b >doocs </b ></sub >] ( https://github.com/doocs ) <br />[ 💻] ( https://github.com/doocs /leetcode/commits?author=doocs " Code ") </center > | <center > [ <img src =" https://avatars3.githubusercontent.com/u/23625436?v=4 " width =" 100px; " /><br /><sub ><b >chakyam</b ></sub >] ( https://github.com/chakyam ) <br />[ 💻] ( https://github.com/doocs /leetcode/commits?author=chakyam " Code ") </center > |
77
81
| ---| ---|
78
82
79
83
<!-- ALL-CONTRIBUTORS-LIST:END -->
0 commit comments