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 8aa6469 commit 5a1cf10Copy full SHA for 5a1cf10
data_structures/arrays/rotate_array.py
@@ -1,7 +1,4 @@
1
-from typing import List
2
-
3
4
-def rotate_array(arr: List[int], steps: int) -> List[int]:
+def rotate_array(arr: list[int], steps: int) -> list[int]:
5
"""
6
Rotates a list to the right by steps positions.
7
0 commit comments