Skip to content

Commit 2a56183

Browse files
add type hints to pancake_sort
1 parent 456d644 commit 2a56183

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sorts/pancake_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111

12-
def pancake_sort(arr):
12+
def pancake_sort(arr: list) -> list:
1313
"""Sort Array with Pancake Sort.
1414
:param arr: Collection containing comparable items
1515
:return: Collection ordered in ascending order of items

0 commit comments

Comments
 (0)