We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a7e4f commit d111a9dCopy full SHA for d111a9d
data_structures/arrays/max_and_min.py
@@ -11,7 +11,7 @@
11
>>> find_max_min([])
12
"""
13
14
-def find_max_min(arr):
+def find_max_min(arr: list[int]) -> tuple[int, int]:
15
16
Returns the maximum and minimum elements of a list.
17
0 commit comments