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