From 4ceab173637ff45eb2213160c960968cddb8fb73 Mon Sep 17 00:00:00 2001 From: Powerstot <77142630+Powerstot@users.noreply.github.com> Date: Wed, 12 May 2021 13:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A00015.=E4=B8=89=E6=95=B0?= =?UTF-8?q?=E4=B9=8B=E5=92=8C=20Java=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加0015.三数之和 Java版本 --- problems/0015.三数之和.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/problems/0015.三数之和.md b/problems/0015.三数之和.md index 1dabe885..55e22887 100644 --- a/problems/0015.三数之和.md +++ b/problems/0015.三数之和.md @@ -207,7 +207,7 @@ class Solution { while (right > left && nums[right] == nums[right - 1]) right--; while (right > left && nums[left] == nums[left + 1]) left++; - right--; + right--; left++; } }