Skip to content

Commit 4c89914

Browse files
committed
Updated Description of to LeetCode description of.
1 parent 06747f9 commit 4c89914

10 files changed

+10
-10
lines changed

en/1-1000/1-two-sum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 1. Two Sum - Best Practices of LeetCode Solutions
22
LeetCode link: [1. Two Sum](https://leetcode.com/problems/two-sum), difficulty: **Easy**
33

4-
## Description of "1. Two Sum"
4+
## LeetCode description of "1. Two Sum"
55
Given an array of integers `nums` and an integer `target`, return _indices of the two numbers such that they add up to `target`_.
66

77
You may assume that each input would have **_exactly_ one solution**, and you may not use the same element twice.

en/1-1000/15-3sum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 15. 3Sum - Best Practices of LeetCode Solutions
22
LeetCode link: [15. 3Sum](https://leetcode.com/problems/3sum), difficulty: **Medium**
33

4-
## Description of "15. 3Sum"
4+
## LeetCode description of "15. 3Sum"
55
Given an integer array nums, return all the triplets `[nums[i], nums[j], nums[k]]` such that `i != j`, `i != k`, and `j != k`, and `nums[i] + nums[j] + nums[k] == 0`.
66

77
Notice that the solution set must not contain duplicate triplets.

en/1-1000/160-intersection-of-two-linked-lists.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 160. Intersection of Two Linked Lists - Best Practices of LeetCode Solutions
22
LeetCode link: [160. Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists), difficulty: **Easy**.
33

4-
## Description of "160. Intersection of Two Linked Lists"
4+
## LeetCode description of "160. Intersection of Two Linked Lists"
55
Given the heads of two singly linked-lists `headA` and `headB`, return _the node at which the two lists intersect_. If the two linked lists have no intersection at all, return `null`.
66

77
For example, the following two linked lists begin to intersect at node `c1`:

en/1-1000/18-4sum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 18. 4Sum - Best Practices of LeetCode Solutions
22
LeetCode link: [18. 4Sum](https://leetcode.com/problems/4sum), difficulty: **Medium**
33

4-
## Description of "18. 4Sum"
4+
## LeetCode description of "18. 4Sum"
55
Given an array `nums` of `n` integers, return _an array of all the **unique** quadruplets_ `[nums[a], nums[b], nums[c], nums[d]]` such that:
66

77
* `0 <= a, b, c, d < n`

en/1-1000/20-valid-parentheses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 20. Valid Parentheses - Best Practices of LeetCode Solutions
22
LeetCode link: [20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses), difficulty: **Easy**
33

4-
## Description of "20. Valid Parentheses"
4+
## LeetCode description of "20. Valid Parentheses"
55
Given a string `s` containing just the characters `(`, `)`, `{`, `}`, `[` and `]`, determine if the input string is valid.
66

77
An input string is valid if:

en/1-1000/202-happy-number.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 202. Happy Number - Best Practices of LeetCode Solutions
22
LeetCode link: [202. Happy Number](https://leetcode.com/problems/happy-number), difficulty: **Easy**.
33

4-
## Description of "202. Happy Number"
4+
## LeetCode description of "202. Happy Number"
55
Write an algorithm to determine if a number `n` is happy.
66

77
A **happy number** is a number defined by the following process:

en/1-1000/225-implement-stack-using-queues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 225. Implement Stack using Queues - Best Practices of LeetCode Solutions
22
LeetCode link: [225. Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues), difficulty: **Easy**
33

4-
## Description of "225. Implement Stack using Queues"
4+
## LeetCode description of "225. Implement Stack using Queues"
55
Implement a last-in-first-out (LIFO) stack using only two queues. The implemented stack should support all the functions of a normal stack (`push`, `top`, `pop`, and `empty`).
66

77
Implement the `MyStack` class:

en/1-1000/24-swap-nodes-in-pairs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 24. Swap Nodes in Pairs - Best Practices of LeetCode Solutions
22
LeetCode link: [24. Swap Nodes in Pairs](https://leetcode.com/problems/swap-nodes-in-pairs), difficulty: **Medium**
33

4-
## Description of "24. Swap Nodes in Pairs"
4+
## LeetCode description of "24. Swap Nodes in Pairs"
55
Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be changed.)
66

77
### [Example 1]

en/1-1000/28-find-the-index-of-the-first-occurrence-in-a-string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 28. Find the Index of the First Occurrence in a String - Best Practices of LeetCode Solutions
22
LeetCode link: [28. Find the Index of the First Occurrence in a String](https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string), difficulty: **Easy**.
33

4-
## Description of "28. Find the Index of the First Occurrence in a String"
4+
## LeetCode description of "28. Find the Index of the First Occurrence in a String"
55
Given two strings `needle` and `haystack`, return the **index** of the first occurrence of `needle` in `haystack`, or `-1` if `needle` is not part of `haystack`.
66

77
### [Example 1]

en/1-1000/459-repeated-substring-pattern.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 459. Repeated Substring Pattern - Best Practices of LeetCode Solutions
22
LeetCode link: [459. Repeated Substring Pattern](https://leetcode.com/problems/repeated-substring-pattern), difficulty: **Easy**.
33

4-
## Description of "459. Repeated Substring Pattern"
4+
## LeetCode description of "459. Repeated Substring Pattern"
55
Given a string `s`, check if it can be constructed by taking a substring of it and appending multiple copies of the substring together.
66

77
### [Example 1]

0 commit comments

Comments
 (0)