From 2a561838cfad1c1372a690b64593abf8d78839f1 Mon Sep 17 00:00:00 2001 From: Santiago Salazar Date: Sat, 30 May 2026 12:42:15 -0500 Subject: [PATCH] add type hints to pancake_sort --- sorts/pancake_sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorts/pancake_sort.py b/sorts/pancake_sort.py index e5d600738435..b6c198acc03c 100644 --- a/sorts/pancake_sort.py +++ b/sorts/pancake_sort.py @@ -9,7 +9,7 @@ """ -def pancake_sort(arr): +def pancake_sort(arr: list) -> list: """Sort Array with Pancake Sort. :param arr: Collection containing comparable items :return: Collection ordered in ascending order of items