diff --git a/problems/0344.反转字符串.md b/problems/0344.反转字符串.md index ddb9805d..c2f16794 100644 --- a/problems/0344.反转字符串.md +++ b/problems/0344.反转字符串.md @@ -146,6 +146,17 @@ Python: Go: +```Go +func reverseString(s []byte) { + left:=0 + right:=len(s)-1 + for left