We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9cc9ada + 5ba8d15 commit 2b7c5c3Copy full SHA for 2b7c5c3
2018.11.29-leetcode443/。。。.md
@@ -1,4 +1,5 @@
1
- public int compress(char[] chars) {
+ ```
2
+ public int compress(char[] chars) {
3
int cur = 1;//压缩后字符串的长度
4
int repet = 1;
5
for (int i = 1; i < chars.length; i++){
@@ -24,3 +25,4 @@
24
25
Log.d(new String(chars));
26
return cur;
27
}
28
0 commit comments