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 a34c4b5 commit 36b8b98Copy full SHA for 36b8b98
src/test/java/com/thealgorithms/datastructures/lists/RotateSinglyLinkedListsTest.java
@@ -15,7 +15,9 @@ public class RotateSinglyLinkedListsTest {
15
16
// Helper method to create a linked list from an array of values
17
private Node createLinkedList(int[] values) {
18
- if (values.length == 0) return null;
+ if (values.length == 0) {
19
+ return null;
20
+ }
21
22
Node head = new Node(values[0]);
23
Node current = head;
0 commit comments