Skip to content

Commit b387978

Browse files
committed
commit
1 parent 1d63f30 commit b387978

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.idea/encodings.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

[0019][Remove Nth Node From End Of List]/src/Solution.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public ListNode removeNthFromEnd(ListNode head, int n) {
4040
}
4141

4242

43+
// 说明要删除第一个节点
4344
if (pa == null) {
4445
head = head.next;
4546
return head;

0 commit comments

Comments
 (0)