Increasing Triplet Subsequence Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the f
分类:
编程语言 时间:
2016-02-22 17:33:01
阅读次数:
130
Question: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You
分类:
其他好文 时间:
2016-02-22 15:46:44
阅读次数:
127
1. 设置系统默认的分辨率 xrandr 命令: > xrandr Screen 0: minimum 1 x 1, current 1920 x 1080, maximum 8192 x 8192Virtual1 connected primary 1920x1080+0+0 (normal le
分类:
系统相关 时间:
2016-02-21 19:57:47
阅读次数:
301
好久都没更新博客了,最近一年转型移动端,当然网页端也得兼顾,慢慢写一写基本性的文章,多积累。 本期介绍下viewport的一些使用: 先看看viewport在页面中的样子: <meta name="viewport" content="initial-scale=0.5, maximum-scale
分类:
Web程序 时间:
2016-02-21 19:57:37
阅读次数:
245
Question: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2
分类:
其他好文 时间:
2016-02-20 21:38:16
阅读次数:
240
Description: Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Re
分类:
其他好文 时间:
2016-02-20 20:22:01
阅读次数:
197
meta基础知识 H5页面窗口自动调整到设备宽度,并禁止用户缩放页面 <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalab
分类:
移动开发 时间:
2016-02-19 19:02:45
阅读次数:
327
今天在生产系统中查询产品时,莫名提示错误:maximum recursion depth exceeded while calling a Python object,根据错误日志提示,发现在查询产品时,系统会构造一个domain,查询所有库位的库存量。当仓库较多的时候,构造的这个domain比较长...
分类:
编程语言 时间:
2016-02-19 12:07:55
阅读次数:
290
一、关于meta (一)、常用的公共meta属性 1、viewport <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/> width=devic
分类:
移动开发 时间:
2016-02-18 22:55:06
阅读次数:
268
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple
分类:
其他好文 时间:
2016-02-18 13:55:51
阅读次数:
177