Skip to content

Commit 2b7c5c3

Browse files
authored
Merge pull request gzc426#11 from qiuguomeng/qiuguomeng-patch-10
Update 。。。.md
2 parents 9cc9ada + 5ba8d15 commit 2b7c5c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

2018.11.29-leetcode443/。。。.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
public int compress(char[] chars) {
1+
```
2+
public int compress(char[] chars) {
23
int cur = 1;//压缩后字符串的长度
34
int repet = 1;
45
for (int i = 1; i < chars.length; i++){
@@ -24,3 +25,4 @@
2425
Log.d(new String(chars));
2526
return cur;
2627
}
28+
```

0 commit comments

Comments
 (0)