html 1 <html> 2 <head> 3 <meta charset="utf-8"/> 4 <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> 5 <script ...
分类:
其他好文 时间:
2016-05-31 20:33:06
阅读次数:
202
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="initial-scale=1, maximum-scale=1,use ...
分类:
其他好文 时间:
2016-05-31 18:45:30
阅读次数:
984
题目链接:https://leetcode.com/problems/maximum-product-subarray/
题目:
Find the contiguous subarray within an array (containing at least one number) which has the largest product.
For example, give...
分类:
其他好文 时间:
2016-05-30 15:32:29
阅读次数:
139
题目链接:https://leetcode.com/problems/longest-palindromic-substring/
题目:
Given a string S,
find the longest palindromic substring in S.
You may assume that the maximum length of S is
1000, and ...
分类:
其他好文 时间:
2016-05-30 14:53:40
阅读次数:
150
题目 给出一数组A,编号从1到n,然后进行q次查询,每次查询给出一个边界[beg, end],要求给出数组A中范围[beg, end]之内的最小值。 题目链接: RMQ_ST 分析 区间问题使用线段树或者树状数组,可以达到查询复杂度为O(logN),其实对于RMQ(Range Maximum/Min ...
分类:
编程语言 时间:
2016-05-30 00:38:57
阅读次数:
191
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro ...
分类:
其他好文 时间:
2016-05-29 13:42:14
阅读次数:
219
基本在网页头部我们只需添加四个meta标签就可以实现一个手机网站的框架。我一起来看看是哪些meta标签。 1、添加viewport标签 1 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-sc ...
分类:
移动开发 时间:
2016-05-28 10:02:16
阅读次数:
197
题目链接:https://leetcode.com/problems/maximum-product-of-word-lengths/题目:
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common...
分类:
其他好文 时间:
2016-05-27 12:57:27
阅读次数:
104