码迷,mamicode.com
首页 >  
搜索关键字:have    ( 8669个结果
Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2014-06-04 19:10:54    阅读次数:240
Permutations
Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:其他好文   时间:2014-06-04 19:10:16    阅读次数:155
串 --- 匹配
All in AllTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 27295Accepted: 11162DescriptionYou have devised a new encryption technique which en...
分类:其他好文   时间:2014-06-03 12:03:57    阅读次数:233
UVALIVE 6450 Social Advertising
You have decided to start up a new social networking company. Other existing popular social networksalready have billions of users, so the only way to...
分类:其他好文   时间:2014-05-31 04:34:45    阅读次数:275
Gas Station
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[...
分类:其他好文   时间:2014-05-30 16:34:10    阅读次数:258
Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-05-30 16:30:00    阅读次数:282
Best Time to Buy and Sell Stock III
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-30 16:19:05    阅读次数:320
Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-05-30 16:16:29    阅读次数:190
Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-05-30 15:15:53    阅读次数:225
Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-30 15:00:54    阅读次数:335
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!