Skip to content

Commit 03e7c91

Browse files
committed
[LC] fix: line lint
1 parent 4fc1a92 commit 03e7c91

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

construct-binary-tree-from-preorder-and-inorder-traversal/hajunyoo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ def buildTree(self, preorder: List[int], inorder: List[int]) -> Optional[TreeNod
2020
left = self.buildTree(preorder, inorder[:mid])
2121
right = self.buildTree(preorder, inorder[mid + 1:])
2222

23-
return TreeNode(val, left, right)
23+
return TreeNode(val, left, right)

counting-bits/hajunyoo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ def countBits(self, n: int) -> List[int]:
3131
if i == msb * 2:
3232
msb *= 2
3333
res[i] = res[i - msb] + 1
34-
return res
34+
return res

encode-and-decode-strings/hajunyoo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ def decode(self, str):
2828
length = int(str[i:colon])
2929
res.append(str[colon + 1:colon + 1 + length])
3030
i = colon + 1 + length
31-
return res
31+
return res

0 commit comments

Comments
 (0)