Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. 1. DP Set an array, first ...
分类:
其他好文 时间:
2018-09-29 01:19:26
阅读次数:
223
上一章,讲了基本概念和关于模型选择与评估的概念。这一张学习线性回归,并根据线性回归加上模型选择与评估的知识来实例化。 1、线性回归(LinearRegression)(又名最小二乘法,ordinary least squares OLS)最小二乘法的具体数学原理这里就不再赘述了,另外需要讲的一点是线 ...
分类:
其他好文 时间:
2018-09-28 18:59:12
阅读次数:
303
谈谈你对http协议的认识。 2、谈谈你对websocket协议的认识。 3、什么是magic string ? 4、如何创建响应式布局? 5、你曾经使用过哪些前端框架? 6、什么是ajax请求?并使用jQuery和XMLHttpRequest对象实现一个ajax请求。 7、如何在前端实现轮训? 8 ...
分类:
编程语言 时间:
2018-09-28 00:03:50
阅读次数:
172
感觉对RTT 还有 建立连接的说明挺好的 转帖一下 学习 https://www.cnblogs.com/qiniu/p/6856012.html 序?魔戒再现 几天前,OpenSSL 官方宣布即将发布的新版本 (OpenSSL 1.1.1) 将会提供 TLS 1.3 的支持,而且还会和之前的 1. ...
分类:
Web程序 时间:
2018-09-23 11:45:39
阅读次数:
595
魔数(U4----magic----1) 每个class文件的头4个字节称为魔数(Magic Number),其值为:0xCAFEBABE,它是16 进制的,这条数值是确定的,唯一的。它的唯一作用是用于确定这个文件是否为一个能被虚拟机接受的class文件。使用魔数而不是扩展名来进行识别主要是基于安全... ...
分类:
其他好文 时间:
2018-09-22 22:28:19
阅读次数:
378
Python跑路到突然想学习了 第4章 操作列表 4.1 遍历列表 利用for循环 进行遍历 eg:magicians = [‘alice’,’dacid’,carolina’] for magician in magicians: print(magician) # 把列表内容传输给新变量。 # ...
分类:
编程语言 时间:
2018-09-22 21:19:19
阅读次数:
138
前言 由于JUnit的Assert是公认的烂API,所以不推荐使用,目前推荐使用的是AssertJ。 AssertJ网站: http://joel-costigliola.github.io/assertj/ github上examples 地址 https://github.com/joel-co ...
分类:
其他好文 时间:
2018-09-21 16:54:56
阅读次数:
386
https://mp.weixin.qq.com/s/6xcYYdYZTBPTf25xFluzBQ 使用FullAdder级联实现加法器 参考链接: https://github.com/wjcdx/jchdl/blob/master/src/org/jchdl/model/gsl/operator ...
分类:
其他好文 时间:
2018-09-21 13:32:13
阅读次数:
245
Description A crossword puzzle consists of a rectangular grid of black and white squares and two lists of definitions (or descriptions). One list of d ...
分类:
编程语言 时间:
2018-09-21 13:29:07
阅读次数:
188
#include<stdio.h>#include<stdlib.h>#include<math.h>int main(){ int magic; //计算机随机生成的数 int guess; //人猜的数 int counter;//记录猜的次数 magic = rand() % 100 + 1; ...
分类:
其他好文 时间:
2018-09-20 22:53:36
阅读次数:
165