Skip to content

Commit e66b0a7

Browse files
authored
Update insertion_sort_list.py
1 parent d343b60 commit e66b0a7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

insertion_sort_list.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- coding: utf-8 -*-
1+
# coding: utf-8
22

33
class Solution:
44
"""
@@ -18,4 +18,6 @@ def insertionSortList(self, head):
1818
head.next = tmp.next
1919
tmp.next = head
2020
head = next
21-
return new_head.next
21+
return new_head.next
22+
23+
# easy: http://lintcode.com/zh-cn/problem/insertion-sort-list/

0 commit comments

Comments
 (0)