Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2669ec0

Browse files
Merge pull request youngyangyang04#1599 from laerpeeK/master
docs 0541.反转字符串II.md
2 parents 8bd833c + 40eb09b commit 2669ec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎problems/0541.反转字符串II.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
[力扣题目链接](https://leetcode.cn/problems/reverse-string-ii/)
1414

15-
给定一个字符串 s 和一个整数 k,你需要对从字符串开头算起的每隔 2k 个字符的前 k 个字符进行反转
15+
给定一个字符串 s 和一个整数 k,从字符串开头算起, 每计数至 2k 个字符,就反转这 2k 个字符中的前 k 个字符
1616

1717
如果剩余字符少于 k 个,则将剩余字符全部反转。
1818

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /