2022年9月17日
摘要: package test; import java.util.List; /** * @Author:txd * @Date:2022/9/17 * @Description: */ public class tickets { public static void main(String[] ar 阅读全文
posted @ 2022-09-17 15:27 “樂·~ 阅读(46) 评论(0) 推荐(0) 编辑
2022年8月26日
摘要: 八股: 1.怎么优化sql,哪些情况适合创建索引 2.说一下AQS吗,juc中哪些组件实现用到了aqs 3.countdownlatch的实现,具体应用 4.https的传输过程 5.说一下常见的网络安全问题,说一下网站脚本攻击 6.说一下spring aop,其中默认的是哪种实现,动态代理的动态体 阅读全文
posted @ 2022-08-26 16:02 “樂·~ 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 0.刚开始对海星框架的原理的理解(restemplete和配置文件加载的理解) 刚开始肯定是要对海星框架跑起来 海星框架 1.基础学习 1.海星框架的配置加载 1.海星框架的配置加载主要是starfish-configuration这个jar包里实现的,项目启动首先进入的是BootstrapList 阅读全文
posted @ 2022-08-26 11:51 “樂·~ 阅读(157) 评论(0) 推荐(0) 编辑
2022年8月24日
摘要: 0.刚开始对海星框架的原理的理解(restemplete和配置文件加载的理解) 刚开始肯定是要对海星框架跑起来 海星框架 1.基础学习 1.海星框架的配置加载 1.海星框架的配置加载主要是starfish-configuration这个jar包里实现的,项目启动首先进入的是BootstrapList 阅读全文
posted @ 2022-08-24 16:06 “樂·~ 阅读(130) 评论(0) 推荐(0) 编辑
2022年8月22日
摘要: exercise 1.组合总数 package org.example.api.test.exercise; import java.util.*; public class zuhezongshu { //例: canditates[2,3,5,7] target=7 //output:[[7], 阅读全文
posted @ 2022-08-22 16:25 “樂·~ 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 1.迷宫 public class Point { int x; int y; public Point(int x, int y) { this.x = x; this.y = y; } }public class keda2 { List<Point> temp =new LinkedList< 阅读全文
posted @ 2022-08-22 00:57 “樂·~ 阅读(132) 评论(0) 推荐(0) 编辑
2022年8月5日
摘要: 0.刚开始对海星框架的原理的理解(restemplete和配置文件加载的理解) 刚开始肯定是要对海星框架跑起来 海星框架 1.基础学习 1.海星框架的配置加载 1.海星框架的配置加载主要是starfish-configuration这个jar包里实现的,项目启动首先进入的是BootstrapList 阅读全文
posted @ 2022-08-05 17:07 “樂·~ 阅读(40) 评论(0) 推荐(0) 编辑
2022年7月7日
摘要: @Service public class VehicleServiceImpl extends ServiceImpl<VehicleMapper, Vehicle> implements IVehicleService { @Autowired private VehicleMapper veh 阅读全文
posted @ 2022-07-07 19:49 “樂·~ 阅读(134) 评论(0) 推荐(0) 编辑
2022年7月4日
摘要: 7.3 二叉树的层序遍历 https://leetcode-cn.com/problems/binary-tree-level-order-traversal/102. 先定义一个存放最终结果的ArrayList为res,然后定义一个队列存放节点,while循环中,队列不为空,那么就for往一个数组 阅读全文
posted @ 2022-07-04 00:11 “樂·~ 阅读(17) 评论(0) 推荐(0) 编辑
2022年6月16日
摘要: 项目二阶段总结 账户微服务 短信发送 1.压测发现问题 首先对短信smscomponent的send方法在test单元测试类中测试,不是真的发短信测试,可以建立请求开始和结束的时间戳来确定请求的耗时。 1.在notifycontroller用notify serviceimpl中实现notify s 阅读全文
posted @ 2022-06-16 21:35 “樂·~ 阅读(263) 评论(0) 推荐(0) 编辑