|
|
[CareerCup] 【第三轮】6.16-6.22 CareerCup 1.1 |
|
本楼:
全局:
23
0
| ||
|
|
||
|
本楼:
全局:
35
1
点评
1. your code does not handle the corner case for empty string/null string
2. you can use a hash set for this solution, no need for <key, value> pair here, the key itself is the value.
| ||
|
|
|
本楼:
全局:
35
1
| ||
|
本楼:
全局:
35
1
| ||
|
|
||
|
本楼:
全局:
57
0
| ||
|
本楼:
全局:
14
0
点评
咱们解法是一样的~握爪~ 向你学习s.toCharArray()这个方法~
| ||
|
本楼:
全局:
311
7
| ||
|
|
||
|
本楼:
全局:
1
0
| ||
|
本楼:
全局:
1
0
| ||
|
本楼:
全局:
35
1
| ||