码迷,mamicode.com
首页 >  
搜索关键字:minimum    ( 3256个结果
移动端head需要设置的meta属性
width:就是让文档以手机屏幕的宽度为100%来缩放css的比例; initial-scale:页面初始缩放比例; maximum-scale:页面最大缩放的程度 minimum-scale:页面最小的缩放比例; user-scalable:是否允许用户缩放; minimal-ui:ios7出来的新特性,可以去掉导航栏(还没有验证ing~~)...
分类:移动开发   时间:2015-01-21 15:18:18    阅读次数:221
Matlab中的数据预处理-归一化(mapminmax)与标准化(mapstd)
最近遇到数据预处理的一些问题,本来很简单的东西,但是却搞的烦烦的,痛定思痛,决定自己实现一下。 一、mapminmax Process matrices by mapping row minimum and maximum values to [-1 1] 意思是将矩阵的每一行处理成[-1,1]区间,此时对于模式识别或者其他统计学来说,数据应该是每一列是一个样本,每一行是多个样本的同一维,即...
分类:其他好文   时间:2015-01-21 13:27:01    阅读次数:416
[Leetcode][JAVA] Minimum Window Substring
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S="ADOBECODEBA...
分类:编程语言   时间:2015-01-21 06:35:47    阅读次数:255
[LeetCode]Minimum Window Substring
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum window is "BAN...
分类:Windows程序   时间:2015-01-20 12:03:35    阅读次数:219
[leetcode] Edit Distance
Edit DistanceGiven two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You...
分类:其他好文   时间:2015-01-19 12:42:20    阅读次数:162
Leetcode#154 Find Minimum in Rotated Sorted Array II
原题地址说个题外话,我一直想不明白题目里rotate这个词,感觉用shift更合适啊仔细分析题目,有如下两个性质:1. 对于一个没有折叠过的数组,最小值一定是第一个元素。2. 对于一个折叠过的数组,最小值一定出现在折叠的地方。因此,要找最小值,就把以上两种情况下的最小值都看看,选一个最小的就行了。这...
分类:其他好文   时间:2015-01-19 12:16:31    阅读次数:92
Triangle Leetcode Python
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the following triangle [      [2],     [3,4],  ...
分类:编程语言   时间:2015-01-19 09:18:45    阅读次数:286
移动端 viewport设置
width [pixel_value | device-width] width 直接去设置具体数值大部分的安卓手机不支持的 但是IOS支持 user-scalable 是否允许缩放 (no||yes) initial-scale 初始比例 minimum-scal...
分类:移动开发   时间:2015-01-18 18:32:01    阅读次数:234
[LeetCode#154]Find Minimum in Rotated Sorted Array II
The question:Follow upfor "Find Minimum in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?S...
分类:其他好文   时间:2015-01-18 07:06:07    阅读次数:338
Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes...
分类:其他好文   时间:2015-01-17 16:28:38    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!