Skip to content

Commit dee6af7

Browse files
committed
tags
1 parent 010082e commit dee6af7

File tree

6 files changed

+22
-12
lines changed

6 files changed

+22
-12
lines changed

Leetcode/0019.Remove-Nth-Node-From-End-of-List/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# [19. Remove Nth Node From End of List](https://leetcode.com/problems/middle-of-the-linked-list/)
2-
###### tags: `Medium` `Leetcode` `two pointers`
3-
2+
tags: Medium, Leetcode, Two Pointers
43
## 題目
54
Given the head of a linked list, remove the nth node from the end of the list and return its head.
65

@@ -76,4 +75,7 @@ func RemoveNthFromEnd(head *ListNode, n int) *ListNode {
7675
preSlow.Next = slow.Next
7776
return dummyHead.Next
7877
}
79-
```
78+
```
79+
80+
81+
###### tags: `Medium` `Leetcode` `Two Pointers`

Leetcode/0310.Minimum-Height-Trees/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [310. Minimum Height Trees](https://leetcode.com/problems/minimum-height-trees/)
2-
###### tags: `Medium` `Leetcode`
2+
tags: Medium, Leetcode
33

44
## 題目
55
A tree is an undirected graph in which any two vertices are connected by exactly one path. In other words, any connected graph without simple cycles is a tree.

Leetcode/0567.Permutation-in-String/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [567. Permutation in String](https://leetcode.com/problems/permutation-in-string/)
2-
###### tags: `Medium` `Leetcode` `Sliding Window`
2+
tags: Medium, Leetcode, Sliding Window
33

44
## 題目
55
Given two strings s1 and s2, return true if s2 contains a permutation of s1, or false otherwise.
@@ -122,4 +122,6 @@ func CheckInclusionSlice(s1 string, s2 string) bool {
122122
}
123123
return false
124124
}
125-
```
125+
```
126+
127+
###### tags: `Medium` `Leetcode` `Sliding Window`

Leetcode/0704.Binary-Search/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [704. Binary Search](https://leetcode.com/problems/binary-search/)
2-
###### tags: `Easy` `Leetcode` `Binary Search`
2+
tags: Easy, Leetcode, Binary Search
33

44
## 題目
55

@@ -196,4 +196,6 @@ func RightBound(nums []int, target int) (index int) {
196196
return right
197197
}
198198

199-
```
199+
```
200+
201+
###### tags: `Easy` `Leetcode` `Binary Search`

Leetcode/0752.Open-the-Lock/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [752. Open the Lock](https://leetcode.com/problems/open-the-lock/)
2-
###### tags: `Medium` `Leetcode` `BFS`
2+
tags: Medium, Leetcode, BFS
33

44
You have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'. The wheels can rotate freely and wrap around: for example we can turn '9' to be '0', or '0' to be '9'. Each move consists of turning one wheel one slot.
55

@@ -301,4 +301,6 @@ func strToInt(str string) int16 {
301301
return int16(str[0]-'0')*1000 + int16(str[1]-'0')*100 + int16(str[2]-'0')*10 + int16(str[3]-'0')
302302
}
303303

304-
```
304+
```
305+
306+
###### tags: `Medium` `Leetcode` `BFS`

Leetcode/0876.Middle-of-the-Linked-List/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [876. Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/)
2-
###### tags: `Medium` `Leetcode` `two pointers`
2+
tags: Medium, Leetcode, Two Pointers
33

44
## 題目
55
Given the head of a singly linked list, return the middle node of the linked list.
@@ -88,4 +88,6 @@ func MiddleNode(head *ListNode) *ListNode {
8888
return slow
8989
}
9090
}
91-
```
91+
```
92+
93+
###### tags: `Medium` `Leetcode` `two pointers`

0 commit comments

Comments
 (0)