Movatterモバイル変換


[0]ホーム

URL:


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

Commit71b9c4d

Browse files
committed
Updated README.md (added 4 new problem solutions; added 29 existing problem solutions)
1 parenta4d6d3e commit71b9c4d

File tree

1 file changed

+33
-23
lines changed

1 file changed

+33
-23
lines changed

‎README.md

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ Dear LeetCoders! For a better LeetCode problem-solving experience, please visit
44

55
Hi there! I'm Lane.
66
Do you feel that there are too many problems (over 3,450) on the LeetCode and you can't finish them all?
7-
Or do you forget how to solve the problems you did last time?
7+
Or do you forget how to solve the problems you did last time?
8+
89
If you can master some solution patterns, this will happen less often.
910

1011
Here, I will provide you with**common problem-solving patterns** so that you don't waste time on problems that are not often tested in interviews.
1112

12-
Solutions for languages such as**Python, C++, Java, JavaScript, C#, Go, Ruby**, etc. will alsobe provided. If you have better solutions, welcome to create an issue or PR!
13+
**Python, C++, Java, JavaScript, C#, Go, Ruby** languages' solutions are provided for every selected LeetCode problem. Other languages' solutions willbe provided in the future. If you have better solutions, welcome to create an issue or PR!
1314

1415
##How to use this repo?
1516

@@ -21,51 +22,55 @@ You can skip the more difficult problems and do them later.
2122
-[27. Remove Element](en/1-1000/27-remove-element.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_ and**2** ways.
2223
-[704. Binary Search](en/1-1000/704-binary-search.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
2324
-[977. Squares of a Sorted Array](en/1-1000/977-squares-of-a-sorted-array.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
24-
-[209. Minimum Size Subarray Sum](en/1-1000/209-minimum-size-subarray-sum.md) was solved in_Python, Java, JavaScript, C#_.
25+
-[209. Minimum Size Subarray Sum](en/1-1000/209-minimum-size-subarray-sum.md) was solved in_Python, Java,C++,JavaScript, C#, Go, Ruby#_.
2526
-[303. Range Sum Query - Immutable](en/1-1000/303-range-sum-query-immutable.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
26-
-[59. Spiral Matrix II](en/1-1000/59-spiral-matrix-ii.md) was solved in_Python, Java, JavaScript, C#_.
27+
-[59. Spiral Matrix II](en/1-1000/59-spiral-matrix-ii.md) was solved in_Python, Java,C++,JavaScript, C#, Go, Ruby_.
2728
-[503. Next Greater Element II](en/1-1000/503-next-greater-element-ii.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
29+
-[3478. Choose K Elements With Maximum Sum](https://leetcoder.net/en/leetcode/3478-choose-k-elements-with-maximum-sum) was solved in_Python_.
2830

2931
#Linked List
3032
-[203. Remove Linked List Elements](en/1-1000/203-remove-linked-list-elements.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
3133
-[206. Reverse Linked List](en/1-1000/206-reverse-linked-list.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
32-
-[160. Intersection of Two Linked Lists](en/1-1000/160-intersection-of-two-linked-lists.md) was solved in_Python, Java, JavaScript, C#_.
34+
-[160. Intersection of Two Linked Lists](en/1-1000/160-intersection-of-two-linked-lists.md) was solved in_Python, Java,C++,JavaScript, C#, Go, Ruby_.
3335
-[19. Remove Nth Node From End of List](en/1-1000/19-remove-nth-node-from-end-of-list.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
34-
-[707. Design Linked List](en/1-1000/707-design-linked-list.md) was solved in_Python, Java, JavaScript, C#_.
36+
-[707. Design Linked List](en/1-1000/707-design-linked-list.md) was solved in_Python, Java,C++,JavaScript, C#, Go, Ruby#_.
3537
-[24. Swap Nodes in Pairs](en/1-1000/24-swap-nodes-in-pairs.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
3638

3739
#Hash Table
3840
-[349. Intersection of Two Arrays](en/1-1000/349-intersection-of-two-arrays.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
39-
-[242. Valid Anagram](en/1-1000/242-valid-anagram.md) was solved in_Python, Java, JavaScript, C#_.
41+
-[242. Valid Anagram](en/1-1000/242-valid-anagram.md) was solved in_Python, Java,C++,JavaScript, C#, Go, Ruby_.
4042
-[1. Two Sum](en/1-1000/1-two-sum.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
41-
-[383. Ransom Note](en/1-1000/383-ransom-note.md) was solved in_Python, Java, JavaScript, C#_.
42-
-[202. Happy Number](en/1-1000/202-happy-number.md) was solved in_Python, Java, JavaScript, C#_.
43-
-[454. 4Sum II](en/1-1000/454-4sum-ii.md) was solved in_Python, Java, JavaScript, C#, Ruby_.
43+
-[383. Ransom Note](en/1-1000/383-ransom-note.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
44+
-[202. Happy Number](en/1-1000/202-happy-number.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
45+
-[454. 4Sum II](en/1-1000/454-4sum-ii.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
46+
-[49. Group Anagrams](https://leetcoder.net/en/leetcode/49-group-anagrams) was solved in_Python, Ruby_.
4447

4548
#String
46-
-[28. Find the Index of the First Occurrence in a String](en/1-1000/28-find-the-index-of-the-first-occurrence-in-a-string.md) was solved in_Python, JavaScript_.
47-
-[541. Reverse String II](en/1-1000/541-reverse-string-ii.md) was solved in_Python, Java, JavaScript, C#, Ruby_.
48-
-[459. Repeated Substring Pattern](en/1-1000/459-repeated-substring-pattern.md) was solved in_Python, JavaScript_.
49+
-[28. Find the Index of the First Occurrence in a String](en/1-1000/28-find-the-index-of-the-first-occurrence-in-a-string.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
50+
-[541. Reverse String II](en/1-1000/541-reverse-string-ii.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
51+
-[459. Repeated Substring Pattern](en/1-1000/459-repeated-substring-pattern.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
52+
-[833. Find And Replace in String](https://leetcoder.net/en/leetcode/833-find-and-replace-in-string) was solved in_Python_.
4953

5054
#Two Pointers
51-
-[15. 3Sum](en/1-1000/15-3sum.md) was solved in_Python_ and 2 ways.
52-
-[18. 4Sum](en/1-1000/18-4sum.md) was solved in_Python_.
55+
-[15. 3Sum](en/1-1000/15-3sum.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_ and 2 ways.
56+
-[18. 4Sum](en/1-1000/18-4sum.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
5357

54-
#Stack
55-
-[20. Valid Parentheses](en/1-1000/20-valid-parentheses.md) was solved in_Python, JavaScript_.
56-
-[232. Implement Queue using Stacks](en/1-1000/232-implement-queue-using-stacks.md) was solved in_Python, JavaScript_.
58+
#Stack & Queue
59+
-[20. Valid Parentheses](en/1-1000/20-valid-parentheses.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
60+
-[232. Implement Queue using Stacks](en/1-1000/232-implement-queue-using-stacks.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
61+
-[225. Implement Stack using Queues](en/1-1000/225-implement-stack-using-queues.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_ and 3 ways.
5762

58-
#Queue
59-
-[225. Implement Stack using Queues](en/1-1000/225-implement-stack-using-queues.md) was solved in_Python, JavaScript_and3 ways.
63+
#Binary Tree
64+
-[144. Binary Tree Preorder Traversal](en/1-1000/144-binary-tree-preorder-traversal.md) was solved in_Python_and2 ways.
6065

6166
#Dynamic Programming
62-
##Basics
67+
##Easy Problems
6368
-[509. Fibonacci Number](en/1-1000/509-fibonacci-number.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
6469

6570
##House Robber
6671
-[198. House Robber](en/1-1000/198-house-robber.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
67-
-[213. House Robber II](en/1-1000/213-house-robber-ii.md) was solved in_Python, JavaScript,Go_.
68-
-[337. House Robber III](en/1-1000/337-house-robber-iii.md) was solved in_Python, JavaScript,Go_ and**2** ways.
72+
-[213. House Robber II](en/1-1000/213-house-robber-ii.md) was solved in_Python,Java, C++,JavaScript,C#, Go, Ruby_.
73+
-[337. House Robber III](en/1-1000/337-house-robber-iii.md) was solved in_Python,Java, C++,JavaScript,C#, Go, Ruby_ and**2** ways.
6974

7075
##Knapsack Problems
7176
###0/1 Knapsack
@@ -100,12 +105,17 @@ You can skip the more difficult problems and do them later.
100105
-[583. Delete Operation for Two Strings](en/1-1000/583-delete-operation-for-two-strings.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
101106
-[72. Edit Distance](en/1-1000/72-edit-distance.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
102107

108+
##Hard Problems
109+
-[3494. Find the Minimum Amount of Time to Brew Potions](https://leetcoder.net/en/leetcode/3494-find-the-minimum-amount-of-time-to-brew-potions) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
110+
103111
#Monotonic Stack
104112
-[739. Daily Temperatures](en/1-1000/739-daily-temperatures.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
105113
-[496. Next Greater Element I](en/1-1000/496-next-greater-element-i.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
106114
-[42. Trapping Rain Water](en/1-1000/42-trapping-rain-water.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby.
107115
-[84. Largest Rectangle in Histogram](en/1-1000/84-largest-rectangle-in-histogram.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_.
108116

117+
118+
109119
#Graph Theory
110120
-[797. All Paths From Source to Target](en/1-1000/797-all-paths-from-source-to-target.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_ and**2** ways.
111121
-[200. Number of Islands](en/1-1000/200-number-of-islands.md) was solved in_Python, Java, C++, JavaScript, C#, Go, Ruby_ and**3** ways.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp