Skip to content

Commit d28abba

Browse files
committed
Update LinkedList-QuickSort.py
1 parent de76fbf commit d28abba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Templates/02.LinkedList/LinkedList-QuickSort.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ def quickSort(self, left: ListNode, right: ListNode):
3333
self.quickSort(left, pi)
3434
self.quickSort(pi.next, right)
3535
return left
36-
37-
def quickSort(self, head):
38-
36+
3937
def sortLinkedList(self, head: ListNode):
4038
if not head or not head.next:
4139
return head

0 commit comments

Comments
 (0)