From 0fd224b3ab2b241cb3d4795a162cb99eac1242e9 Mon Sep 17 00:00:00 2001 From: MasterSJ <452857582@qq.com> Date: Tue, 28 Aug 2018 13:31:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E4=B8=AD=E6=9F=A5=E6=89=BE?= =?UTF-8?q?=E7=9A=84=E7=A9=BA=E6=A0=BC=EF=BC=8C=E5=A6=82=E6=9E=9C=E5=A1=AB?= =?UTF-8?q?=E5=85=85=E7=9A=84=E4=B9=9F=E6=98=AF=E7=A9=BA=E6=A0=BC=E5=B0=B1?= =?UTF-8?q?=E6=AD=BB=E5=BE=AA=E7=8E=AF=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/剑指 offer 题解.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/剑指 offer 题解.md b/notes/剑指 offer 题解.md index d88b6168..43990090 100644 --- a/notes/剑指 offer 题解.md +++ b/notes/剑指 offer 题解.md @@ -232,7 +232,7 @@ public String replaceSpace(StringBuffer str) { int P1 = str.length() - 1; for (int i = 0; i < str.length(); i++) if (str.charAt(i) == ' ') - str.append(" "); + str.append("aa"); int P2 = str.length() - 1; while (P1 >= 0 && P2 > P1) {