Common Subsequence http://poj.org/problem?id=1458 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 63836 Accepted: 26653 Description A subse ...
分类:
其他好文 时间:
2018-12-10 11:41:25
阅读次数:
193
把某个研究系统中涉及的随机变量,根据是否条件独立绘制在一个有向图中,就形成了贝叶斯网络。 贝叶斯网络(Bayesian Network),又称有向无环图模型(directed acyclic graphical model ,DAG),是一种概率图模型,根据概率图的拓扑结构,考察一组随机变量{X 1 ...
分类:
其他好文 时间:
2018-12-10 11:35:59
阅读次数:
230
一、黏包成因 1、tcp协议的拆包机制 当发送端缓冲区的长度大于网卡的MTU时,tcp会将这次发送的数据拆成几个数据包发送出去。 MTU是Maximum Transmission Unit的缩写。意思是网络上传送的最大数据包。MTU的单位是字节。 大部分网络设备的MTU都是1500。如果本机的MTU ...
分类:
其他好文 时间:
2018-12-09 17:52:23
阅读次数:
233
// O(nlogn) class Solution { public: int lengthOfLIS(vector& nums) { int n = nums.size(); if (n dp; dp.push_back(nums[0]); for (int i = 1; i & nums) {... ...
分类:
其他好文 时间:
2018-12-08 15:43:09
阅读次数:
164
题目限定输入是[0, 10^8],因而不用考虑负数或者越界情况,算是减小了难度。 1 public class Solution { 2 /** 3 * @param num: a non-negative intege 4 * @return: the maximum valued number ...
分类:
其他好文 时间:
2018-12-05 21:46:24
阅读次数:
188
前端 一、什么是前端 ? 前端即网站前台部分,运行在PC端,移动端等浏览器上展现给用户浏览的网页。随着互联网技术的发展,HTML5,CSS3,前端框架的应用,跨平台响应式网页设计能够适应各种屏幕分辨率,完美的动效设计,给用户带来极高的用户体验。 ? 前端技术一般分为前端设计和前端开发,前端设计一般可 ...
分类:
其他好文 时间:
2018-12-04 22:41:18
阅读次数:
331
Description A numeric sequence of ai is ordered if a1 < a2 < … < aN. Let the subsequence of the given numeric sequence (a1, a2, …, aN) be any sequence ...
分类:
其他好文 时间:
2018-12-04 22:37:47
阅读次数:
290
修改【public】-【index.html】meta标签 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no ...
分类:
其他好文 时间:
2018-12-04 00:53:02
阅读次数:
205
A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The ...
分类:
其他好文 时间:
2018-12-03 22:57:23
阅读次数:
314
Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is po ...
分类:
其他好文 时间:
2018-12-03 22:57:07
阅读次数:
222