<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, ...
分类:
其他好文 时间:
2016-09-25 18:36:30
阅读次数:
192
二分图的最大匹配、完美匹配和匈牙利算法 这篇文章讲无权二分图(unweighted bipartite graph)的最大匹配(maximum matching)和完美匹配(perfect matching),以及用于求解匹配的匈牙利算法(Hungarian Algorithm);不讲带权二分图的最 ...
分类:
编程语言 时间:
2016-09-25 17:29:16
阅读次数:
185
Given a sequence of KKK integers { N1N_1N?1??, N2N_2N?2??, ..., NKN_KN?K?? }. A continuous subsequence is defined to be { NiN_iN?i??, Ni+1N_{i+1}N?i+1 ...
分类:
其他好文 时间:
2016-09-25 13:20:52
阅读次数:
224
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1, ...
分类:
其他好文 时间:
2016-09-25 13:12:30
阅读次数:
1231
既然validator依赖与Bootstrap3,那么表单必须使用Bootstrap的类来编写. Tip1:如果表单不是通过Bootstrap构建(即元素包含表单项且关联的label没有form-group类),可能会看到错误Uncaught RangeError: Maximum call sta ...
分类:
其他好文 时间:
2016-09-25 12:02:19
阅读次数:
314
Given a string S and a string T, count the number of distinct subsequences of T in S. A subsequence of a string is a new string which is formed from t ...
分类:
其他好文 时间:
2016-09-24 17:24:21
阅读次数:
124
public class Solution { public int maxSubArray(int[] nums) { int res = -1000000; int sum=0; for(int i=0; i<nums.length; i++){ sum += nums[i]; if(sum > ...
分类:
其他好文 时间:
2016-09-24 16:12:11
阅读次数:
135
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum ...
分类:
其他好文 时间:
2016-09-24 11:55:51
阅读次数:
116
学习要点 1.通过一个简单的移动手机页面, 复习学过的内容 2.手机网页的测试 3.手机布局的屏幕设定 手机网页的测试方法 1.直接在手机上测试,比较麻烦,效果好, 2.电脑上下载手机模拟器 3.利用浏览器自带的功能 name="viewport":屏幕设定 maximum-scale=1.0,mi ...
分类:
移动开发 时间:
2016-09-23 18:18:07
阅读次数:
224
Given a string s and a string t, check if s is subsequence of t. Given a string s and a string t, check if s is subsequence of t. You may assume that ...
分类:
其他好文 时间:
2016-09-23 15:04:09
阅读次数:
176