这是一个简单版本of LC 424 Longest Repeating Character Replacement 又是Window, 又是Two Pointers Window还是采用每次都try to update left使得window valid, 每次都检查最大window ...
分类:
其他好文 时间:
2017-02-01 10:48:22
阅读次数:
178
好久没弄 虚拟机了,感觉好不习惯 根据网上的步骤装了一ubuntu 启动报错 virtualbox intel_rapl: no valid rapl domains ...... 搜索到了一片中文博客 “ 在virtualbox设置中找到.vdi文件的存储位置, 在存储位置目录下有个.vbox文件 ...
分类:
系统相关 时间:
2017-01-27 08:03:21
阅读次数:
185
w 0000-FFFF 最多四字节。 https://en.wikipedia.org/wiki/UTF-8 UTF-8 encodes each of the 1,112,064 valid code points in the Unicode code space (1,114,112 code ...
分类:
其他好文 时间:
2017-01-26 16:35:23
阅读次数:
205
原题链接在这里:https://leetcode.com/problems/valid-word-square/ 题目: Given a sequence of words, check whether it forms a valid word square. A sequence of word ...
分类:
其他好文 时间:
2017-01-25 08:29:27
阅读次数:
248
Given a non-empty string s and an abbreviation abbr, return whether the string matches with the given abbreviation. A string such as "word" contains o ...
分类:
其他好文 时间:
2017-01-24 07:47:17
阅读次数:
205
1. 技术: 1).架构理解 2).项目拆分 3).具体细节(valid,profile) :http://www.cnblogs.com/Jtianlin/p/5973325.html 4).代码自动生成 5).postman 2.流程: 1).上线流程(本地,开发,测试,灰度) 2).单元测试 ...
分类:
其他好文 时间:
2017-01-23 17:20:19
阅读次数:
147
ngx_http_referer_module模块允许拦截“Referer”请求头中含有非法值的请求,阻止它们访问站点。需要注意的是伪造一个有效的“Referer”请求头是相当容易的,因此这个模块的预期目的不在于彻底地阻止这些非法请求,而是为了阻止由正常浏览器发出的大规模此类请求。还有一点需要..
分类:
Web程序 时间:
2017-01-22 21:31:31
阅读次数:
281
/** * Bug绕过去方案WorkAround * Bug描述: * JQuery的Validation的和form的input元素设为readonly,一对不可调和的矛盾: * 一个设置为required的input元素,永久设置为readonly,表单提交时,如果该字段值为空, * Valid... ...
分类:
其他好文 时间:
2017-01-22 19:09:06
阅读次数:
134
这类问题可以先用递归思考,再反过来想出动态规划的方法。 10. Regular Expression Matching 32. Longest Valid Parentheses 44. Wildcard Matching 72. Edit Distance 97. Interleaving Str ...
分类:
其他好文 时间:
2017-01-22 13:51:20
阅读次数:
210
NSIS Error:Error writing temporary file. Make sure your temp folder is valid的解决 NSIS Error:Error writing temporary file. Make sure your temp folder is ...
分类:
其他好文 时间:
2017-01-18 00:43:19
阅读次数:
196