File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ comment : true
3
+ difficulty : 简单
4
+ edit_url : https://github.com/doocs/leetcode/edit/main/lcci/01.01.Is%20Unique/README.md
5
+ ---
6
+
7
+
1
8
# [ 面试题 01.01. 判定字符是否唯一] ( https://leetcode.cn/problems/is-unique-lcci )
2
9
3
10
Original file line number Diff line number Diff line change
1
+ ---
2
+ comment : true
3
+ difficulty : 简单
4
+ edit_url : https://github.com/doocs/leetcode/edit/main/lcof/%E9%9D%A2%E8%AF%95%E9%A2%9803.%20%E6%95%B0%E7%BB%84%E4%B8%AD%E9%87%8D%E5%A4%8D%E7%9A%84%E6%95%B0%E5%AD%97/README.md
5
+ ---
6
+
1
7
# [ 面试题 03. 数组中重复的数字] ( https://leetcode.cn/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof/ )
2
8
3
9
## 题目描述
Original file line number Diff line number Diff line change @@ -61,11 +61,7 @@ def __init__(self):
61
61
62
62
@staticmethod
63
63
def get_request_url (edit_url : str ) -> str :
64
- path = requests .utils .quote (
65
- edit_url .replace ("https://github.com/doocs/leetcode/edit/main" , "" ).replace (
66
- "%20" , " "
67
- )
68
- )
64
+ path = edit_url .replace ("https://github.com/doocs/leetcode/edit/main" , "" )
69
65
return f"https://api.github.com/repos/doocs/leetcode/commits?path={ path } &sha=main&per_page=100"
70
66
71
67
def on_pre_build (self , config ):
You can’t perform that action at this time.
0 commit comments