06 2021 档案

摘要:问题描述 // 斐波那契数列 输入序列,返回值 // (1,1,2,3,5,8,13,21,。。。。。) // 例如 input 3 output 3 递归版 // 递归版 @Test void feibonaqi2() { int sum=sum2(-9); System.out.println( 阅读全文
posted @ 2021-06-29 14:54 牵我狗 阅读(155) 评论(1) 推荐(2) 编辑
摘要:import java.util.Stack; public class MainClass4 { public static void main(String[] args) { BanaryTree head = init(); whilePrint(head); System.out.prin 阅读全文
posted @ 2021-06-22 18:11 牵我狗 阅读(182) 评论(0) 推荐(0) 编辑
摘要:package com.mashibing.drools; public class MainClass3 { public static void main(String[] args) { Nodes head1 = init(); head1 = revert(head1); print(he 阅读全文
posted @ 2021-06-22 16:27 牵我狗 阅读(30) 评论(0) 推荐(0) 编辑
摘要:class hanluota { public static void main(String[] args) { int nDisks = 2; move(nDisks, 'A', 'B', 'C'); } public static void move(int n, char from, cha 阅读全文
posted @ 2021-06-22 15:21 牵我狗 阅读(83) 评论(0) 推荐(0) 编辑
摘要:public static void main(String[] args) { int [] arr= {1,2,3,4,5,6,7,8}; // 使用hash表作为缓存 HashMap<Integer, Integer> buf = new HashMap<>(); int second; fo 阅读全文
posted @ 2021-06-22 15:11 牵我狗 阅读(64) 评论(0) 推荐(0) 编辑
摘要:1. spring 组件 Spring 的核心容器是其他模块建立的基础,由 Beans 模块、Core 核心模块、Context 上下文模块和 Expression Language 表达式语言模块组成,具体介绍如下。 Beans 模块:提供了 BeanFactory,是工厂模式的经典实现,Spri 阅读全文
posted @ 2021-06-17 18:52 牵我狗 阅读(317) 评论(0) 推荐(1) 编辑
摘要:第1节 评估算法优劣的核心指标是什么 时间复杂度(流程决定) 额外空间复杂度(流程决定) 常数项时间(实现细节决定) 什么是时间复杂度?时间复杂度怎么估算? 常数时间的操作 确定算法流程的总操作数量与样本数量之间的表达式关系 只看表达式最高阶项的部分 何为常数时间的操作? 如果一个操作的执行时间不以 阅读全文
posted @ 2021-06-15 12:27 牵我狗 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-06-10 20:25 牵我狗 阅读(71) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2021-06-10 20:20 牵我狗 阅读(22) 评论(0) 推荐(0) 编辑
摘要:1. 表的查询 1.1单表查询 【2】select语句的执行顺序 from--where -- group by– select - having- order by 1.2 多表查询 1.3 子查询 1.3.1相关子查询 【1】不相关的子查询引入: 不相关的子查询:子查询可以独立运行,先运行子查询 阅读全文
posted @ 2021-06-09 18:15 牵我狗 阅读(73) 评论(0) 推荐(0) 编辑
摘要:1. 冒泡排序 (BubbleSort) func TestBubbleTest(t *testing.T) { arr := []int{2, 3, 5, 1, 5, 7, 4} bubbleSort(arr) for i := 0; i < len(arr); i++ { fmt.Print(a 阅读全文
posted @ 2021-06-04 10:50 牵我狗 阅读(165) 评论(6) 推荐(1) 编辑

点击右上角即可分享
微信分享提示