地址:https://leetcode-cn.com/problems/n-th-tribonacci-number/ <?php /** 泰波那契序列 Tn 定义如下: T0 = 0, T1 = 1, T2 = 1, 且在 n >= 0 的条件下 Tn+3 = Tn + Tn+1 + Tn+2 给 ...
分类:
其他好文 时间:
2020-05-26 15:18:31
阅读次数:
76
队列 这个很好理解 先入先出,有点像排队,通过数组push和shift模拟,通常用作任务管理 栈 // 栈class Stack{ constructor() { this.items=[] } push(item){ this.items.push(item) } pop(){ return th ...
分类:
其他好文 时间:
2020-05-26 11:57:26
阅读次数:
56
目标管理(mbo)是彼得德鲁克开发的一个系统,当Andy Grove 担任英特尔首席执行官时,开发了OKR框架. John Doerr于1999年把OKR引入Google, OKR(Objectives and Key Results),又叫目标与关键成果法 OKR (Objectives and ...
分类:
其他好文 时间:
2020-05-25 09:31:51
阅读次数:
129
实现登录页面的中英文转换 1.编写国际化配置文件,抽取页面需要的国际化信息 2.页面设计 访问时会根据浏览器的语言选择对应的语言 使用了thymeleaf的相关语法 <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org" ...
分类:
编程语言 时间:
2020-05-24 21:29:41
阅读次数:
86
地址:http://poj.org/problem?id=2985 题意: 输入n,m。共n只猫,m组询问。 1,L,R。L号猫所在组和R号猫所在组合并 0,x。查询第x大组有几只猫。 解析: 理解了好久的说。。。最最重要的还是树状数组的本质要理解好,要不代码写再多也没用。 树状数组:c[i]表示所 ...
分类:
编程语言 时间:
2020-05-24 19:14:32
阅读次数:
54
1.super调用父类的构造方法,必须在构造方法的第一行. 2.super必须 只能出现在子类的构造方法和方法中使用!!! 3.super和this不能同时调用构造方法! 也就是说调用子类构造方法之前,必然先调用父类的构造器 与 this 区别: 代表的对象不同 super:代表父类对象的引用 th ...
分类:
其他好文 时间:
2020-05-24 13:42:08
阅读次数:
48
计算机的产生和发展 1.第一代电子管计算机 1943年,第二次世界大战进入后期,美国国防部批准了由Pennsyivania大学John Mauchly教授和John Presper Eckert工程师提出的建造一台用电子管组成的电子数字积分机和计算机(Electronic Numerical Int ...
分类:
其他好文 时间:
2020-05-24 09:25:59
阅读次数:
56
How to install john deere service advisor 4.2.005 with the February 2016 data base disks on a machine with win 10 64bit. 1/you must have enough disk s ...
How to install john deere service advisor 4.2.005 with the February 2016 data base disks on a machine with win 10 64bit. 1/you must have enough disk s ...
1:泛型类、泛型方法、泛型接口、泛型委托 /// <summary> /// 泛型方法 /// </summary> public class GenericTest { public static void Show<T>(T tParameter) { Console.WriteLine("Th ...
分类:
其他好文 时间:
2020-05-22 19:00:23
阅读次数:
51