Skip to content

Commit 488e46e

Browse files
authored
Update insert-into-a-cyclic-sorted-list.py
1 parent 0aa4a1e commit 488e46e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/insert-into-a-cyclic-sorted-list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Time: O(n)
22
# Space: O(1)
33

4-
"""
54
# Definition for a Node.
65
class Node(object):
76
def __init__(self, val, next):
87
self.val = val
98
self.next = next
10-
"""
9+
10+
1111
class Solution(object):
1212
def insert(self, head, insertVal):
1313
"""

0 commit comments

Comments
 (0)