码迷,mamicode.com
首页 >  
搜索关键字:minimum    ( 3256个结果
【leetcode】Palindrome Partitioning II
Palindrome Partitioning IIGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a p...
分类:其他好文   时间:2015-01-01 16:00:58    阅读次数:164
poj 2914 Minimum Cut 无向图最小边割
无向图最小边割stoer-wagner算法准确,简洁,高效模板!!...
分类:其他好文   时间:2015-01-01 00:14:01    阅读次数:141
LintCode-Minimum Subarray
Given an array of integers, find the subarray with smallest sum.Return the sum of the subarray.NoteThe subarray should contain at least one integer.Ex...
分类:其他好文   时间:2015-01-01 00:08:45    阅读次数:135
[leetcode]Find Minimum in Rotated Sorted Array II
二分,各种情况。class Solution {public: int findMin(vector &num) { int size = num.size(); int minVal = num[size-1]; findMinRe(num, 0, ...
分类:其他好文   时间:2015-01-01 00:00:40    阅读次数:218
[leetcode] Minimum WIndow
题目:(HashTable Two Point String)Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity ...
分类:Windows程序   时间:2014-12-31 07:36:09    阅读次数:177
【leetcode】Palindrome Partitioning II(hard) ☆
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
分类:其他好文   时间:2014-12-30 16:38:28    阅读次数:194
leetcode 153: Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted Array Total Accepted: 21207 Total Submissions: 65855 Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might bec...
分类:其他好文   时间:2014-12-30 07:06:33    阅读次数:166
[Leetcode] 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...
分类:其他好文   时间:2014-12-30 06:59:26    阅读次数:131
Leetcode:Edit Distance 解题报告
Edit DistanceGiven two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You...
分类:其他好文   时间:2014-12-28 19:26:42    阅读次数:108
media媒体查询器用法总结
一 设置Meta标签首先我们在使用Media的时候需要先设置下面这段代码,来兼容移动设备的展示效果:这段代码的几个参数解释:? width = device-width:宽度等于当前设备的宽度? initial-scale:初始的缩放比例(默认设置为1.0)? minimum-scale:允许用户缩...
分类:其他好文   时间:2014-12-28 18:10:43    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!