From 2261203e487d355ffad374203027a88fdefbe16d Mon Sep 17 00:00:00 2001 From: whaifree <49432110+whaibetter@users.noreply.github.com> Date: Wed, 4 Sep 2024 00:54:26 +0800 Subject: [PATCH] -k --- src/main/java/cn/whaifree/redo/redoAll/LeetCode82.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/cn/whaifree/redo/redoAll/LeetCode82.java b/src/main/java/cn/whaifree/redo/redoAll/LeetCode82.java index 3fc1473..dc9f407 100644 --- a/src/main/java/cn/whaifree/redo/redoAll/LeetCode82.java +++ b/src/main/java/cn/whaifree/redo/redoAll/LeetCode82.java @@ -28,6 +28,7 @@ public class LeetCode82 { } preIndex.next = index.next; index = preIndex.next; + } else { preIndex = index; index = index.next;