上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 35 下一页
摘要: String a = "123"; StringBuffer stringBuffer = new StringBuffer(a); String b = stringBuffer.reverse().toString(); 阅读全文
posted @ 2022-11-11 09:55 northli 阅读(15) 评论(0) 推荐(0) 编辑
摘要: import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * 计算两个数之和 * @param s string字符串 表示第一个整数 * @param t string字符串 表示第 阅读全文
posted @ 2022-11-11 09:52 northli 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 参考: 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) 编辑
摘要: 阅读全文
posted @ 2022-10-31 09:38 northli 阅读(13) 评论(0) 推荐(0) 编辑
摘要: SpringBoot的启动流程 springboot的三个注解: 阅读全文
posted @ 2022-10-31 09:30 northli 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 1、平衡二叉树 2.B树 3.B+树 B+、B和平衡二叉树的区别: 1)b,b+相对于平衡二叉树,节点可以存储多个元素,因此整体可以存储较多的数据,并且树的高度也会矮,可以减少磁盘IO,提高检索效率 2)B+树叶子节点包含全部数据,切实有序的链表,对于范围查找非常容易 B+与B树的区别: 阅读全文
posted @ 2022-10-29 09:47 northli 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 方式A:通过springboot yaml配置文件方式 方式B:通过application.properties配置,设置属性和值 参考:https://blog.csdn.net/qq_41286666/article/details/124251504 阅读全文
posted @ 2022-10-20 08:24 northli 阅读(26) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 35 下一页