码迷,mamicode.com
首页 >  
搜索关键字:you have two operati    ( 41000个结果
【Leetcode】Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 思路:由【Leetcode】Linked List Cycle可知,利用一快一慢...
分类:其他好文   时间:2014-06-15 14:23:38    阅读次数:288
[LeetCode] Combinations [38]
题目 Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3],...
分类:其他好文   时间:2014-06-15 14:10:54    阅读次数:239
HDU 1661 Assigments 贪心法题解
Problem Description In a factory, there are N workers to finish two types of tasks (A and B). Each type has N tasks. Each task of type A needs xi time to finish, and each task of type B needs yj ti...
分类:其他好文   时间:2014-06-15 11:26:42    阅读次数:195
poj 2503:Babelfish(字典树,经典题,字典翻译)
BabelfishTime Limit:3000MSMemory Limit:65536KTotal Submissions:30816Accepted:13283DescriptionYou have just moved from Waterloo to a big city. The peop...
分类:其他好文   时间:2014-06-15 11:07:12    阅读次数:237
poj 2594 Treasure Exploration (二分匹配)
Treasure ExplorationTime Limit:6000MSMemory Limit:65536KTotal Submissions:6558Accepted:2644DescriptionHave you ever read any book about treasure explo...
分类:其他好文   时间:2014-06-14 17:11:19    阅读次数:248
june 14
Thank you for your applying for employment with our company. Your application is now being processed. If you have any questions, please contact us.Any...
分类:其他好文   时间:2014-06-14 17:07:12    阅读次数:204
hust 1170 - Baskets of Gold Coins
题目描述You are given N baskets of gold coins. The baskets are numbered from 1 to N. In all except one of the baskets, each gold coin weighs w grams. In t...
分类:其他好文   时间:2014-06-14 16:22:52    阅读次数:191
[LeetCode] Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up: Can you solve it without using extra space?比...
分类:其他好文   时间:2014-06-14 15:48:59    阅读次数:217
swift显示变量的类名称
var ivar = [:] ivar.className // __NSDictionaryI var i = 1 i.className // error: 'Int' does not have a member named 'className' If you want to get the type of a primitive, you have to use bridgeToOb...
分类:其他好文   时间:2014-06-14 14:28:55    阅读次数:234
《那些来自华尔街的赚钱之道》 ---每天读一点英文
You are self-motivated.As a small business owner,you won't hava a boss to tell you when to get to work.If that's a problem,keep your day job. You can work with number.You will spend a fair amount of time keeping track of money expenses,revenues,taxs...
分类:其他好文   时间:2014-06-14 12:10:26    阅读次数:253
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!