摘要: http://blog.csdn.net/zheng0518/article/details/39189805给定一个字符串,得到这个字符串中首先出现两次的那个字符方法一: 1 public static void main(String[] args) { 2 Scanner sc... 阅读全文
posted @ 2014-09-22 22:34 soul390 阅读(220) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/steven30832/article/details/8260189Java实现: 1 public class Main { 2 3 /** 4 * 最长公共子串 5 * --b a b 6 7 * ... 阅读全文
posted @ 2014-09-22 20:24 soul390 阅读(126) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/yysdsyl/article/details/4226630 1 public class Main { 2 3 /** 4 * longest common subsequence 5 * @param args 6 ... 阅读全文
posted @ 2014-09-22 15:55 soul390 阅读(182) 评论(0) 推荐(0)