Skip to content

Commit df2db03

Browse files
committed
Fix checkstyle issues
1 parent 8376bbe commit df2db03

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/main/java/com/thealgorithms/others/ArrayRotation.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
* Time Complexity: O(n)
1414
* Space Complexity: O(1)
1515
*/
16-
1716
public class ArrayRotation {
1817

1918
private ArrayRotation() {
@@ -25,7 +24,6 @@ private ArrayRotation() {
2524
* @param nums the input array
2625
* @param k number of rotations
2726
*/
28-
2927
public static void rotateRight(int[] nums, int k) {
3028

3129
int n = nums.length;
@@ -47,7 +45,6 @@ public static void rotateRight(int[] nums, int k) {
4745
* @param nums the input array
4846
* @param k number of rotations
4947
*/
50-
5148
public static void rotateLeft(int[] nums, int k) {
5249

5350
int n = nums.length;
@@ -82,4 +79,4 @@ private static void reverse(int[] nums, int start, int end) {
8279
end--;
8380
}
8481
}
85-
}
82+
}

0 commit comments

Comments
 (0)