摘要: 参考: https://blog.csdn.net/xiaoerbuyu1233/article/details/127408125 阅读全文
posted @ 2022-11-10 23:12 northli 阅读(250) 评论(0) 推荐(0) 编辑
摘要: import java.util.*; public class Solution { /** * 验证IP地址 * @param IP string字符串 一个IP地址字符串 * @return string字符串 */ public String solve (String IP) { //判断 阅读全文
posted @ 2022-11-10 23:10 northli 阅读(87) 评论(0) 推荐(0) 编辑
摘要: import java.util.*; public class Solution { /** * * @param strs string字符串一维数组 * @return string字符串 */ public String longestCommonPrefix (String[] strs) 阅读全文
posted @ 2022-11-10 21:49 northli 阅读(92) 评论(0) 推荐(0) 编辑
摘要: import java.util.*; public class Solution { public String trans(String s, int n) { String[] strArray = s.split(" "); List<String> strList = Arrays.asL 阅读全文
posted @ 2022-11-10 17:28 northli 阅读(47) 评论(0) 推荐(0) 编辑