![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Algorithm
李雨杨
永远要相信自己可以给这个世界留下文明
展开
-
字符串中找出连续最长的数字串
package algorithm; import java.util.Scanner; public class LongNumStr { public static void main(String[] args) { String str = new Scanner(System.in).nextLine(); System.out.println(numberStr(str)); } public static String number...原创 2020-06-10 20:54:32 · 186 阅读 · 0 评论 -
子字符串在字符串中出现的次数
public class BFSearch { public static void main(String[] args) { System.out.println("input main string"); String str1 = new Scanner(System.in).nextLine(); System.out.println("input f string"); String str2 = new Scanner(.原创 2020-06-08 22:49:18 · 353 阅读 · 0 评论