Skip to content

Commit 7096968

Browse files
committed
fixed issues
1 parent 02f2a78 commit 7096968

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

data_structures/arrays/rotate_array.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
def rotate_array(arr, k):
1+
from typing import List
2+
3+
def rotate_array(arr: List[int], k: int) -> List[int]:
24
n = len(arr)
35
if n == 0:
46
return arr

0 commit comments

Comments
 (0)