|
|
[CareerCup] 【第三轮】6.16-6.22 CareerCup 1.4 |
|
本楼:
全局:
175
1
| ||
|
|
||
|
| |
|
|
|
本楼:
全局:
37
3
| ||
|
本楼:
全局:
73
3
| ||
|
|
||
|
本楼:
全局:
37
3
| ||
|
本楼:
全局:
73
3
| ||
|
本楼:
全局:
14
0
| ||
|
|
||
|
本楼:
全局:
64
2
| ||
|
本楼:
全局:
8
0
| ||
|
本楼:
全局:
106
4
点评
楼下code review:咱们的方法是一致的~实现起来有小小的不一样,看了你的程序,学了新的char[]转string的方法:String s=new String(char[]); :D
ok.thanks
I think the space complexity should be O(n), unless we assume the length of the string is no more than a number like 1000 ...
| ||