Skip to content

Commit 26210ae

Browse files
authored
Grammar
it's -> its
1 parent 62b5934 commit 26210ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

algorithms/sorting/insertion_sort.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
High Level Description:
3-
For every element in the given list, find it's correct index by iterating
3+
For every element in the given list, find its correct index by iterating
44
backwards and finding a slot. This forms a sorted array.
55
66
Time Complexity:
@@ -14,4 +14,4 @@ def insertion_sort(lst):
1414
while(j > 0 and lst[i] < lst[j]):
1515
j -= 1
1616
lst[j], lst[i] = lst[i], lst[j]
17-
return lst
17+
return lst

0 commit comments

Comments
 (0)