Skip to content

Commit b68994e

Browse files
author
Shuo
authored
Merge pull request #629 from openset/develop
Add: 1.4.4
2 parents 4083e8c + 0861184 commit b68994e

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

internal/leetcode/question_data.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ func QuestionData(titleSlug string, isForce bool, graphQL ...string) (qd questio
3636
filePutContents(filename, jsonEncode(qd))
3737
}
3838
if qd.Data.Question.TitleSlug == "" {
39-
os.Remove(filename)
4039
if graphQL[0] == graphQLCnUrl {
41-
return QuestionData(titleSlug, isForce, graphQLUrl)
40+
return QuestionData(titleSlug, true, graphQLUrl)
4241
}
4342
for _, err := range qd.Errors {
4443
log.Println(titleSlug, err.Message)

internal/version/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/openset/leetcode/internal/base"
88
)
99

10-
const version = "1.4.3"
10+
const version = "1.4.4"
1111

1212
var CmdVersion = &base.Command{
1313
Run: runVersion,

problems/construct-binary-tree-from-inorder-and-postorder-traversal/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ postorder = [9,15,7,20,3]</pre>
3333
</pre>
3434

3535
### Related Topics
36-
[[Array](https://github.com/openset/leetcode/tree/master/tag/array/README.md)]
3736
[[Tree](https://github.com/openset/leetcode/tree/master/tag/tree/README.md)]
3837
[[Depth-first Search](https://github.com/openset/leetcode/tree/master/tag/depth-first-search/README.md)]
38+
[[Array](https://github.com/openset/leetcode/tree/master/tag/array/README.md)]
3939

4040
### Similar Questions
4141
1. [Construct Binary Tree from Preorder and Inorder Traversal](https://github.com/openset/leetcode/tree/master/problems/construct-binary-tree-from-preorder-and-inorder-traversal) (Medium)

problems/construct-binary-tree-from-preorder-and-inorder-traversal/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ inorder = [9,3,15,20,7]</pre>
3232
15 7</pre>
3333

3434
### Related Topics
35-
[[Array](https://github.com/openset/leetcode/tree/master/tag/array/README.md)]
3635
[[Tree](https://github.com/openset/leetcode/tree/master/tag/tree/README.md)]
3736
[[Depth-first Search](https://github.com/openset/leetcode/tree/master/tag/depth-first-search/README.md)]
37+
[[Array](https://github.com/openset/leetcode/tree/master/tag/array/README.md)]
3838

3939
### Similar Questions
4040
1. [Construct Binary Tree from Inorder and Postorder Traversal](https://github.com/openset/leetcode/tree/master/problems/construct-binary-tree-from-inorder-and-postorder-traversal) (Medium)

problems/convert-sorted-list-to-binary-search-tree/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ One possible answer is: [0,-3,9,-10,null,5], which represents the following heig
3030
</pre>
3131

3232
### Related Topics
33-
[[Linked List](https://github.com/openset/leetcode/tree/master/tag/linked-list/README.md)]
3433
[[Depth-first Search](https://github.com/openset/leetcode/tree/master/tag/depth-first-search/README.md)]
34+
[[Linked List](https://github.com/openset/leetcode/tree/master/tag/linked-list/README.md)]
3535

3636
### Similar Questions
3737
1. [Convert Sorted Array to Binary Search Tree](https://github.com/openset/leetcode/tree/master/problems/convert-sorted-array-to-binary-search-tree) (Easy)

0 commit comments

Comments
 (0)