Skip to content

Commit bbc4677

Browse files
Fix 26-1.py
[이슈 링크](onlybooks#160) 간단하게 `ListNode` 주석 및 변수만 고쳐봤습니다. 리트코드 통과도 확인했습니다. 좋은 책 감사합니다!
1 parent 6935b68 commit bbc4677

File tree

1 file changed

+3
-3
lines changed
  • 3-linear-data-structures/ch10

1 file changed

+3
-3
lines changed

3-linear-data-structures/ch10/26-1.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Definition for singly-linked list.
1+
# Definition for doubly-linked-list.
22
class ListNode:
33
def __init__(self, x):
44
self.val = x
5-
self.next = None
6-
5+
self.right = None
6+
self.left = None
77

88
class MyCircularDeque:
99
def __init__(self, k: int):

0 commit comments

Comments
 (0)