File tree Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,5 @@ All notable changes to the "leetcode" extension will be documented in this file.
77更新了 imports.py
88# "version": "1.0.7",
99调整了输出期望结果和实际结果的顺序。
10+ # 1.0.8
11+ 更新了 imports.py
Original file line number Diff line number Diff line change 55必须使用美国网站,之后在 ` Leetcode: Show Description ` 中选择 ` Both ` 。
66工作目录必须是` .leetcode ` 目录,这样 ` import ` 才能正常工作。
77
8+ 如果需求可以联系我 [ fukuiyuan@outlook.com ] ( fukuiyuan@outlook.com )
89
910以下是原项目说明。
1011
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ code ./helloworld
6969
7070`src\extension.ts` 下的两个函数。
7171
72- `activate` 激活时调用。
72+ `activate` 激活时调用。
7373
7474`deactivate` 退出时调用。
7575
@@ -80,6 +80,7 @@ code ./helloworld
8080
8181
8282https://code.visualstudio.com/api/working-with-extensions/publishing-extension
83+ https://dev.azure.com/fukuiyuan/
8384
8485```shell
8586# 安装
@@ -99,7 +100,7 @@ vsce publish
99100
100101````
101102
102- ##
103+ ##
103104
104105
105106
@@ -111,7 +112,7 @@ vsce publish
111112
112113
113114
114- ##
115+ ##
115116
116117
117118
Original file line number Diff line number Diff line change 22 "name" : " python-leetcode" ,
33 "displayName" : " PythonLeetcode" ,
44 "description" : " Solve LeetCode problems in VS Code" ,
5- "version" : " 1.0.7 " ,
5+ "version" : " 1.0.8 " ,
66 "author" : " KuiyuanFu" ,
77 "publisher" : " KuiyuanFu" ,
88 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ def listToListNode(l: List[int]) -> ListNode:
3737class TreeNode :
3838 def __init__ (self ,
3939 val : int = 0 ,
40- left : 'Node ' = None ,
41- right : 'Node ' = None ,
42- next : 'Node ' = None ):
40+ left : 'TreeNode ' = None ,
41+ right : 'TreeNode ' = None ,
42+ next : 'TreeNode ' = None ):
4343 self .val = val
4444 self .left = left
4545 self .right = right
You can’t perform that action at this time.
0 commit comments