- 博客(3)
- 资源 (7)
- 收藏
- 关注
原创 微软2016校园招聘4月在线笔试2-403 Forbidden
时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Little Hi runs a web server. Sometimes he has to deny access from a certain set of malicious IP addresses while his friends are still allow to access his serv
2016-04-06 22:25:59 1289
原创 微软2016校园招聘4月在线笔试1-Font Size
时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Steven loves reading book on his phone. The book he reads now consists of N paragraphs and the i-th paragraph contains ai characters.Steven wants to make the
2016-04-06 22:21:56 691
原创 算法:最长回文子串长度
动态规划:最长回文子串:连续+回文 公式 p[i,j] = 1)if(str[i] == str[j]) p[i][j] = 2+p[i+1][j-1] 2)if(str[i]!=str[j]) p[i][j] = max(p[i][j-1], p[i+1][j]) p[i][i] = 1;需要注意的是,在求解的时候 计算的长度由短到长,否则在公式中依赖较短的长度的值不可得会造成错误。/
2016-04-04 10:24:26 598
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人