2020年7月3日

摘要: 1 public int FindFirstRepeadWord(String str) { 2 //记录重复出现的位置 3 int position = -1; 4 int length = str.length(); 5 if (length == 1){ 6 return position; 阅读全文
posted @ 2020-07-03 10:34 2017_06_25 阅读(634) 评论(0) 推荐(0) 编辑

2020年6月2日

摘要: 1 public class QuickSort { 2 /* 3 * 第一次写博客,这道题是我今天面试遇到的题, 4 * 拿道题的第一个想法就是用递归来做,可惜时 5 * 间有限没做出来,回家后终于用递归做出来了, 6 * 从来没有写过博客所以写一篇博客来玩玩 7 * 8 * */ 9 //记录下 阅读全文
posted @ 2020-06-02 21:32 2017_06_25 阅读(615) 评论(0) 推荐(0) 编辑