Skip to content

Commit 2ae8b5d

Browse files
committed
fix haoel#68
1 parent 5222201 commit 2ae8b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithms/cpp/rotateArray/rotateArray.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void rotate(int nums[], int n, int k) {
8888
return rotate1(nums, n, k);
8989
}
9090
cout << "[2] ";
91-
return rotate1(nums, n, k);
91+
return rotate2(nums, n, k);
9292
}
9393

9494
void printArray(int nums[], int n) {

0 commit comments

Comments
 (0)