空格替换
摘要:
public class Solution { public String replaceSpace(StringBuffer str) { if(str==null){ return null; } //遍历一个字符串求出空格数 进而可以求出变后的总长度 int count=0; for(int 阅读全文
posted @ 2018-01-01 16:09 cayman丿2016 阅读(107) 评论(0) 推荐(0)
posted @ 2018-01-01 16:09 cayman丿2016 阅读(107) 评论(0) 推荐(0)
posted @ 2018-01-01 11:05 cayman丿2016 阅读(152) 评论(0) 推荐(0)