Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit17be791

Browse files
add an empty line after printing a linked list
1 parent9bc71e3 commit17be791

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/main/java/com/fishercoder/common/utils/LinkedListUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public static void printList(ListNode head) {
2727
System.out.print(temp.val() +"\t");
2828
temp =temp.next;
2929
}
30+
System.out.println();
3031
}
3132

3233
publicstaticListNodecreateSinglyLinkedList(List<Integer>listValues) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp