content属性值 : width:可视区域的宽度,值可为数字或关键词device-width height:同width intial-scale:页面首次被显示是可视区域的缩放级别,取值1.0则页面按实际尺寸显示,无任何缩放。 maximum-scale=1.0, minimum-scale= ...
分类:
Web程序 时间:
2016-04-16 16:45:30
阅读次数:
144
Subsequence Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11224 Accepted: 4660 Description A sequence of N positive integers (10 < N < 10 ...
分类:
其他好文 时间:
2016-04-15 19:57:37
阅读次数:
185
1、首先我们来看看webkit内核中的一些私有的meta标签,这些meta标签在开发webapp时起到非常重要的作用 meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" na ...
分类:
移动开发 时间:
2016-04-15 18:07:48
阅读次数:
187
Question: Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + n from digits of t ...
分类:
其他好文 时间:
2016-04-14 14:20:18
阅读次数:
162
1. 概述
RMQ(Range Minimum/Maximum Query),即区间最值查询,是指这样一个问题:对于长度为n的数列A,回答若干询问RMQ(A,i,j)(i,j当然,该问题也可以用线段树(也叫区间树)解决,算法复杂度为:O(N)~O(logN),这里我们暂不介绍。
2.RMQ算法
对于该问题,最容易想到的解决方案是遍历,复杂度是O(n)。但当数据量非常大...
分类:
编程语言 时间:
2016-04-13 13:24:55
阅读次数:
220
http://stackoverflow.com/questions/10088363/java-net-socketexception-no-buffer-space-available-maximum-connections-reached 重起tomcat不能解决问题,要重起服务器 The r ...
分类:
编程语言 时间:
2016-04-13 12:54:49
阅读次数:
220
4月4日,应学弟要求去了次学校讲了一堂课,其实讲的挺内容挺杂的,但是目的是引出LCA算法。 现在整理一下当天讲课的主要内容: 开始并没有直接引出LCA问题,而是讲了RMQ(Range Minimum/Maximum Query)问题。 RMQ指的是对于给定的一个数组,每一次询问一个区间[L,R]中数 ...
分类:
编程语言 时间:
2016-04-13 02:04:58
阅读次数:
166
题目 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lon ...
分类:
其他好文 时间:
2016-04-11 18:11:35
阅读次数:
155
Minimum server memory与Maximum server memory是SQL Server下配置实例级别最大和最小可用内存(注意不等于物理内存)的服务器配置选项。它们是管理SQL Server内存的途径之一。 Minimum server memory与Maximum server ...
分类:
数据库 时间:
2016-04-10 23:52:30
阅读次数:
194
104. Maximum Depth of Binary Tree Total Accepted: 136537 Total Submissions: 286367 Difficulty: Easy Given a binary tree, find its maximum depth. The m ...
分类:
其他好文 时间:
2016-04-10 12:50:26
阅读次数:
146