Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: 还是用DP来递归,抓住回 ...
分类:
其他好文 时间:
2019-01-26 21:38:37
阅读次数:
150
现在,很多项目都需要做响应式或者自适应的来适应我们不同屏幕尺寸的手机,电脑等设备,那么就需要我们在页面上下功夫,下面我就来说一下如何做响应式(自适应)的网页设计 1、在网页代码的头部,加入一行viewport元标签 <meta name="viewport" content="width=devic ...
分类:
Web程序 时间:
2019-01-26 21:00:09
阅读次数:
243
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: "babad" Output: ...
分类:
其他好文 时间:
2019-01-25 11:34:43
阅读次数:
173
dmidecode 用于获取主机的硬件信息,通常是在不打开计算机机箱的情况下使用该命令来查找硬件详细信息,常见用法如下: ...
分类:
系统相关 时间:
2019-01-24 15:07:22
阅读次数:
264
Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be { N?i??, N?i+1??, ..., N?j?? } where 1. The Max ...
分类:
其他好文 时间:
2019-01-23 00:19:14
阅读次数:
136
一、MD5加密 HASHBYTES ('加密方式', '待加密的值') 加密方式= MD2 | MD4 | MD5 | SHA | SHA1 返回值类型:varbinary(maximum 8000 bytes) 二、MD5加密示例 HASHBYTES生成的结果为:0xE10ADC3949BA59A ...
分类:
数据库 时间:
2019-01-21 19:15:55
阅读次数:
181
Trim Galore是一个非常流行的用于「去接头序列」的软件,用于处理高通量测序得到的原始数据。通常我们从测序公司拿到数据后,第一步就是评估数据的质量以及对raw data去接头处理。公司拿来的数据通常附带了clean data以及去接头的说明文件,我自己重新实现了一下trim的过程。参数都是根据 ...
分类:
其他好文 时间:
2019-01-21 13:53:15
阅读次数:
592
Flow Problem HDU - 3549 Network flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the we ...
分类:
其他好文 时间:
2019-01-20 18:48:49
阅读次数:
260
极大似然估计学习时总会觉得有点不可思议,为什么可以这么做,什么情况才可以用极大似然估计。本文旨在通俗理解MLE(Maximum Likelihood Estimate)。 一、极大似然估计的思想与举例 举个简单的栗子:在一个盒子里有白色黑色小球若干个,每次有放回地从里面哪一个球,已知抽到白球的概率可 ...
分类:
其他好文 时间:
2019-01-20 15:57:40
阅读次数:
245
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: 1 class Solu ...
分类:
其他好文 时间:
2019-01-20 15:07:08
阅读次数:
164