Skip to content

Commit 2ee7e00

Browse files
author
Openset
committed
Add: tag filename
1 parent 0b38d35 commit 2ee7e00

File tree

35 files changed

+1379
-1379
lines changed

35 files changed

+1379
-1379
lines changed

Diff for: internal/leetcode/tag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ type ttQuestionType struct {
7575

7676
func (question ttQuestionType) TagsStr() string {
7777
var buf bytes.Buffer
78-
format := "[[%s](https://github.com/openset/leetcode/tree/master/tag/%s)] "
78+
format := "[[%s](https://github.com/openset/leetcode/tree/master/tag/%s/README.md)] "
7979
for _, tag := range question.TopicTags {
8080
buf.WriteString(fmt.Sprintf(format, tag.ShowName(), tag.Slug))
8181
}

Diff for: tag/array/README.md

+152-152
Large diffs are not rendered by default.

Diff for: tag/backtracking/README.md

+39-39
Large diffs are not rendered by default.

Diff for: tag/binary-indexed-tree/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
| # | 题名 | 标签 | 难度 |
1111
| :-: | - | - | :-: |
12-
| 218 | [天际线问题](https://github.com/openset/leetcode/tree/master/problems/the-skyline-problem) | [[](https://github.com/openset/leetcode/tree/master/tag/heap)] [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer)] | Hard |
13-
| 307 | [区域和检索 - 数组可修改](https://github.com/openset/leetcode/tree/master/problems/range-sum-query-mutable) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] | Medium |
14-
| 308 | [Range Sum Query 2D - Mutable](https://github.com/openset/leetcode/tree/master/problems/range-sum-query-2d-mutable) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] | Hard |
15-
| 315 | [计算右侧小于当前元素的个数](https://github.com/openset/leetcode/tree/master/problems/count-of-smaller-numbers-after-self) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer)] | Hard |
16-
| 493 | [翻转对](https://github.com/openset/leetcode/tree/master/problems/reverse-pairs) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer)] | Hard |
12+
| 218 | [天际线问题](https://github.com/openset/leetcode/tree/master/problems/the-skyline-problem) | [[](https://github.com/openset/leetcode/tree/master/tag/heap/README.md)] [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree/README.md)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer/README.md)] | Hard |
13+
| 307 | [区域和检索 - 数组可修改](https://github.com/openset/leetcode/tree/master/problems/range-sum-query-mutable) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree/README.md)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] | Medium |
14+
| 308 | [Range Sum Query 2D - Mutable](https://github.com/openset/leetcode/tree/master/problems/range-sum-query-2d-mutable) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree/README.md)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] | Hard |
15+
| 315 | [计算右侧小于当前元素的个数](https://github.com/openset/leetcode/tree/master/problems/count-of-smaller-numbers-after-self) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree/README.md)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer/README.md)] | Hard |
16+
| 493 | [翻转对](https://github.com/openset/leetcode/tree/master/problems/reverse-pairs) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree/README.md)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer/README.md)] | Hard |

Diff for: tag/binary-search-tree/README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99

1010
| # | 题名 | 标签 | 难度 |
1111
| :-: | - | - | :-: |
12-
| 220 | [存在重复元素 III](https://github.com/openset/leetcode/tree/master/problems/contains-duplicate-iii) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] | Medium |
13-
| 315 | [计算右侧小于当前元素的个数](https://github.com/openset/leetcode/tree/master/problems/count-of-smaller-numbers-after-self) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer)] | Hard |
14-
| 327 | [区间和的个数](https://github.com/openset/leetcode/tree/master/problems/count-of-range-sum) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer)] | Hard |
15-
| 352 | [将数据流变为多个不相交间隔](https://github.com/openset/leetcode/tree/master/problems/data-stream-as-disjoint-intervals) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] | Hard |
16-
| 493 | [翻转对](https://github.com/openset/leetcode/tree/master/problems/reverse-pairs) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer)] | Hard |
17-
| 530 | [二叉搜索树的最小绝对差](https://github.com/openset/leetcode/tree/master/problems/minimum-absolute-difference-in-bst) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] | Easy |
18-
| 683 | [K Empty Slots](https://github.com/openset/leetcode/tree/master/problems/k-empty-slots) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] [[数组](https://github.com/openset/leetcode/tree/master/tag/array)] | Hard |
19-
| 699 | [掉落的方块](https://github.com/openset/leetcode/tree/master/problems/falling-squares) | [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] | Hard |
20-
| 715 | [Range 模块](https://github.com/openset/leetcode/tree/master/problems/range-module) | [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] [[数组](https://github.com/openset/leetcode/tree/master/tag/array)] | Hard |
21-
| 731 | [我的日程安排表 II](https://github.com/openset/leetcode/tree/master/problems/my-calendar-ii) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] [[数组](https://github.com/openset/leetcode/tree/master/tag/array)] | Medium |
22-
| 732 | [我的日程安排表 III](https://github.com/openset/leetcode/tree/master/problems/my-calendar-iii) | [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] | Hard |
23-
| 776 | [Split BST](https://github.com/openset/leetcode/tree/master/problems/split-bst) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] | Medium |
24-
| 783 | [二叉搜索树结点最小距离](https://github.com/openset/leetcode/tree/master/problems/minimum-distance-between-bst-nodes) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] | Easy |
25-
| 938 | [二叉搜索树的范围和](https://github.com/openset/leetcode/tree/master/problems/range-sum-of-bst) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree)] | Medium |
12+
| 220 | [存在重复元素 III](https://github.com/openset/leetcode/tree/master/problems/contains-duplicate-iii) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] | Medium |
13+
| 315 | [计算右侧小于当前元素的个数](https://github.com/openset/leetcode/tree/master/problems/count-of-smaller-numbers-after-self) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree/README.md)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer/README.md)] | Hard |
14+
| 327 | [区间和的个数](https://github.com/openset/leetcode/tree/master/problems/count-of-range-sum) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer/README.md)] | Hard |
15+
| 352 | [将数据流变为多个不相交间隔](https://github.com/openset/leetcode/tree/master/problems/data-stream-as-disjoint-intervals) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] | Hard |
16+
| 493 | [翻转对](https://github.com/openset/leetcode/tree/master/problems/reverse-pairs) | [[树状数组](https://github.com/openset/leetcode/tree/master/tag/binary-indexed-tree/README.md)] [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] [[分治算法](https://github.com/openset/leetcode/tree/master/tag/divide-and-conquer/README.md)] | Hard |
17+
| 530 | [二叉搜索树的最小绝对差](https://github.com/openset/leetcode/tree/master/problems/minimum-absolute-difference-in-bst) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] | Easy |
18+
| 683 | [K Empty Slots](https://github.com/openset/leetcode/tree/master/problems/k-empty-slots) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] [[数组](https://github.com/openset/leetcode/tree/master/tag/array/README.md)] | Hard |
19+
| 699 | [掉落的方块](https://github.com/openset/leetcode/tree/master/problems/falling-squares) | [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] | Hard |
20+
| 715 | [Range 模块](https://github.com/openset/leetcode/tree/master/problems/range-module) | [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] [[数组](https://github.com/openset/leetcode/tree/master/tag/array/README.md)] | Hard |
21+
| 731 | [我的日程安排表 II](https://github.com/openset/leetcode/tree/master/problems/my-calendar-ii) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] [[数组](https://github.com/openset/leetcode/tree/master/tag/array/README.md)] | Medium |
22+
| 732 | [我的日程安排表 III](https://github.com/openset/leetcode/tree/master/problems/my-calendar-iii) | [[线段树](https://github.com/openset/leetcode/tree/master/tag/segment-tree/README.md)] [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] | Hard |
23+
| 776 | [Split BST](https://github.com/openset/leetcode/tree/master/problems/split-bst) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] | Medium |
24+
| 783 | [二叉搜索树结点最小距离](https://github.com/openset/leetcode/tree/master/problems/minimum-distance-between-bst-nodes) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] | Easy |
25+
| 938 | [二叉搜索树的范围和](https://github.com/openset/leetcode/tree/master/problems/range-sum-of-bst) | [[二叉搜索树](https://github.com/openset/leetcode/tree/master/tag/binary-search-tree/README.md)] | Medium |

0 commit comments

Comments
 (0)