This commit is contained in:
whaifree 2024-09-04 00:54:26 +08:00
parent a10c05498c
commit 2261203e48

View File

@ -28,6 +28,7 @@ public class LeetCode82 {
} }
preIndex.next = index.next; preIndex.next = index.next;
index = preIndex.next; index = preIndex.next;
} else { } else {
preIndex = index; preIndex = index;
index = index.next; index = index.next;