以前写过一个MVC框架,封装的有点low,经过一段时间的沉淀,打算重新改造下,之前这篇文章封装过一个验证码类。 这次重新改造MVC有几个很大的收获 >全部代码都是用Ubuntu+Vim编写,以前都是windows上开发,这次彻底迷上Ubuntu Linux >裸装php,用php自带的服务器解释执行 ...
分类:
Web程序 时间:
2018-02-27 01:16:56
阅读次数:
220
In this lesson, you will learn how to implement pytest fixtures. Many unit tests have the same resource requirements. For example, an instantiated obj ...
分类:
编程语言 时间:
2018-02-22 22:34:06
阅读次数:
245
time complexity: offer(), size(), isEmpty(): o(1) for poll and peek: worst case: offer n times, peek/poll only once: o(n) average case: offer n times, ...
分类:
其他好文 时间:
2018-02-21 00:25:17
阅读次数:
158
【题目描述】 Given an integer array in the construct method, implement two methods query(start, end) and modify(index, value): For query(start,end), return ...
分类:
其他好文 时间:
2018-02-20 15:57:51
阅读次数:
201
Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Input: haystac ...
分类:
编程语言 时间:
2018-02-17 21:24:10
阅读次数:
252
【题目描述】 For a Maximum Segment Tree, which each node has an extra value max to store the maximum value in this node's interval. Implement a modify funct ...
分类:
其他好文 时间:
2018-02-17 20:30:00
阅读次数:
179
【题目描述】 For a Maximum Segment Tree, which each node has an extra value max to store the maximum value in this node's interval. Implement a modify funct ...
分类:
其他好文 时间:
2018-02-16 20:25:31
阅读次数:
179
字符串 1.KMP字符串匹配 https://leetcode.com/problems/implement-strstr/description/ 2.句子逆序 leetcode151 3.判断一个树是否是另一个树的子树 leetcode242 括号 1.是否是有效括号 leetcode20 2. ...
分类:
其他好文 时间:
2018-02-10 20:48:43
阅读次数:
129
Welcome to my ‘how to implement a search engine’ series. I describe how to implement an actual search engine with working code in python. Here you can ...
分类:
其他好文 时间:
2018-02-10 11:19:11
阅读次数:
198
Learning Goals: Understand the challenges of Object Localization, Object Detection and Landmark Finding Understand and implement non-max suppression U ...
分类:
Web程序 时间:
2018-02-07 21:31:41
阅读次数:
257