会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晨曦生辉耀匕尖
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
下一页
2021年11月28日
第二章:双指针
摘要: 1、两数之和 II - 输入有序数组 问题:给定一个已按照 非递减顺序排列 的整数数组 numbers ,请你从数组中找出两个数满足相加之和等于目标数 target 。 函数应该以长度为 2 的整数数组的形式返回这两个数的下标值。numbers 的下标 从 1 开始计数 ,所以答案数组应当满足 1
阅读全文
posted @ 2021-11-28 20:24 晨曦生辉耀匕尖
阅读(55)
评论(0)
推荐(0)
2021年11月21日
第一章:贪心算法
摘要: 1、分发饼干 题目:假设你是一位很棒的家长,想要给你的孩子们一些小饼干。但是,每个孩子最多只能给一块饼干。 对每个孩子 i,都有一个胃口值 g[i],这是能让孩子们满足胃口的饼干的最小尺寸;并且每块饼干 j,都有一个尺寸 s[j] 。 如果 s[j] >= g[i],我们可以将这个饼干 j 分配给孩
阅读全文
posted @ 2021-11-21 19:22 晨曦生辉耀匕尖
阅读(115)
评论(0)
推荐(0)
2021年11月4日
SpringBoot
摘要: 一、目录结构 二、代码 1、ConfigInfo 1 package cn.bijian.springboot.config; 2 3 import org.springframework.boot.context.properties.ConfigurationProperties; 4 impo
阅读全文
posted @ 2021-11-04 14:25 晨曦生辉耀匕尖
阅读(154)
评论(0)
推荐(0)
2021年11月3日
SpringMVC(二)
摘要: 一、目录结构 二、代码 1、UserController 1 package cn.bijian.controller; 2 3 import cn.bijian.exception.SysException; 4 import cn.bijian.model.User; 5 import org.
阅读全文
posted @ 2021-11-03 10:39 晨曦生辉耀匕尖
阅读(63)
评论(0)
推荐(0)
2021年11月2日
SpringMVC(一)
摘要: 一、目录结构 1、目录 2、原理图 3、知识点 1 一、执行流程: 2 1. 当启动Tomcat服务器的时候,因为配置了load-on-startup标签,所以会创建DispatcherServlet对象,就会加载springmvc.xml配置文件 3 2. 开启了注解扫描,那么HelloContr
阅读全文
posted @ 2021-11-02 15:44 晨曦生辉耀匕尖
阅读(88)
评论(0)
推荐(0)
2021年11月1日
Spring(五)
摘要: 一、目录结构 二、代码 1、JdbcConfig 1 package cn.bijian.config; 2 3 import com.mchange.v2.c3p0.ComboPooledDataSource; 4 import org.springframework.beans.factory.
阅读全文
posted @ 2021-11-01 22:22 晨曦生辉耀匕尖
阅读(112)
评论(0)
推荐(0)
Spring(四)
摘要: 一、目录结构 二、代码 1、SpringConfiguration 1 package cn.bijian.config; 2 3 import org.springframework.context.annotation.ComponentScan; 4 import org.springfram
阅读全文
posted @ 2021-11-01 16:46 晨曦生辉耀匕尖
阅读(25)
评论(0)
推荐(0)
Spring(三)
摘要: 一、目录结构(AOP原理) 二、代码 1、AccountDao 1 package cn.bijian.dao; 2 3 import cn.bijian.model.Account; 4 5 import java.util.List; 6 7 public interface AccountDa
阅读全文
posted @ 2021-11-01 11:24 晨曦生辉耀匕尖
阅读(39)
评论(0)
推荐(0)
2021年10月31日
Spring(二)
摘要: 一、目录结构 二、代码 1、JdbcConfig 1 package cn.bijian.config; 2 3 import com.mchange.v2.c3p0.ComboPooledDataSource; 4 import org.apache.commons.dbutils.QueryRu
阅读全文
posted @ 2021-10-31 21:18 晨曦生辉耀匕尖
阅读(53)
评论(0)
推荐(0)
2021年10月30日
Spring(一)
摘要: 一、目录结构 知识点 1 知识点1-> 2 BeanFactory才是 Spring 容器中的顶层接口,ApplicationContext 是它的子接口。 3 区别:创建对象的时间点不一样。 4 ApplicationContext:只要一读取配置文件,默认情况下就会创建对象。 5 BeanFac
阅读全文
posted @ 2021-10-30 16:55 晨曦生辉耀匕尖
阅读(64)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告