码迷,mamicode.com
首页 >  
搜索关键字:minimum    ( 3256个结果
[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="ADOBECODEBA...
分类:Windows程序   时间:2015-03-11 16:52:07    阅读次数:160
Find Minimum in Rotated Sorted Array II
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/Follow upfor "Find Minimum in Rotated Sorted Array":What ifduplicatesare allowed...
分类:其他好文   时间:2015-03-11 16:28:55    阅读次数:121
leetcode_154_Find Minimum in Rotated Sorted Array II
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢 154 Find Minimum in Rotated Sorted Array II  Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 ...
分类:其他好文   时间:2015-03-11 14:57:45    阅读次数:135
【leetcode】Minimum Window Substring (hard) ★
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...
分类:Windows程序   时间:2015-03-11 00:27:34    阅读次数:170
[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...
分类:其他好文   时间:2015-03-09 22:23:10    阅读次数:206
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 the element on top of the stack.top() -- Get the ...
分类:其他好文   时间:2015-03-09 12:55:19    阅读次数:122
c语言中的#ifdef和#ifndef
#include "stdio.h"#include "conio.h"#define MAX#define MAXIMUM(x,y) (x>y)?x:y#define MINIMUM(x,y) (x>y)?y:xvoid main(){int a=10,b=20;#ifdef MAXprintf(...
分类:编程语言   时间:2015-03-08 21:32:45    阅读次数:195
【置换,推理】UVa 1315 - Creaz tea party
Dsecriptionn participants of «crazy tea party» sit around the table. Each minute one pair of neighbors can change their places. Find the minimum time ...
分类:其他好文   时间:2015-03-08 21:19:43    阅读次数:199
leetcode------Edit Distance
标题:Edit Distance通过率:26.1%难度:难Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counte...
分类:其他好文   时间:2015-03-08 20:08:42    阅读次数:166
Find Minimum in Rotated Sorted Array II
Find Minimum in Rotated Sorted Array II问题:Follow upfor "Find Minimum in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-t...
分类:其他好文   时间:2015-03-08 16:50:59    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!