Skip to content

Commit 26d7ab2

Browse files
committed
Fix
1 parent ba122e4 commit 26d7ab2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/java/com/thealgorithms/datastructures/lists/RotateSinglyLinkedListsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public void testRotateRightByListLength() {
8888

8989
@Test
9090
public void testRotateRightByMultipleOfListLength() {
91-
// Rotate a list by a multiple of its length (no change)
9291
Node head = createLinkedList(new int[] {1, 2, 3, 4, 5});
9392
Node rotated = rotator.rotateRight(head, 10); // k = 2 * list length
9493
assertEquals("1 -> 2 -> 3 -> 4 -> 5", linkedListToString(rotated));

0 commit comments

Comments
 (0)