diff --git a/sorts/pancake_sort.py b/sorts/pancake_sort.py index e5d600738435..035dd35520b2 100644 --- a/sorts/pancake_sort.py +++ b/sorts/pancake_sort.py @@ -9,7 +9,7 @@ """ -def pancake_sort(arr): +def pancake_sort(arr: list[int]) -> list[int]: """Sort Array with Pancake Sort. :param arr: Collection containing comparable items :return: Collection ordered in ascending order of items