From 45dad67adf152317ae97b9c50ea82fce4fe53c31 Mon Sep 17 00:00:00 2001 From: Yuhao Ju Date: Fri, 25 Nov 2022 23:54:31 +0800 Subject: [PATCH] =?UTF-8?q?update=200344.=E5=8F=8D=E8=BD=AC=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=20=E4=BC=98=E5=8C=96go=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/0344.反转字符串.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/problems/0344.反转字符串.md b/problems/0344.反转字符串.md index 2807d04a..c4803311 100644 --- a/problems/0344.反转字符串.md +++ b/problems/0344.反转字符串.md @@ -190,11 +190,11 @@ class Solution: Go: ```Go -func reverseString(s []byte) { - left:=0 - right:=len(s)-1 - for left