码迷,mamicode.com
首页 >  
搜索关键字:may    ( 5447个结果
[LeetCode] Best Time to Buy and Sell Stock III
ay 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 at...
分类:其他好文   时间:2014-07-13 23:22:16    阅读次数:294
Hierarchical Tree Traversal in Graphics Pipeline Stages
BACKGROUNDMany algorithms on a graphics processing unit (GPU) may benefit from doing a query in a hierarchical tree structure (including quad-trees, o...
分类:其他好文   时间:2014-07-13 19:47:28    阅读次数:289
Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from ...
分类:其他好文   时间:2014-07-13 17:21:40    阅读次数:208
LeetCode——Triangle
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], [...
分类:其他好文   时间:2014-07-13 16:01:42    阅读次数:209
LeetCode——Best Time to Buy and Sell Stock III
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most two transactions. Note: You ma...
分类:其他好文   时间:2014-07-13 13:55:14    阅读次数:305
[ACM] POJ 3349 Snowflake Snow Snowflakes(哈希查找,链式解决冲突)
Snowflake Snow Snowflakes Time Limit: 4000MS   Memory Limit: 65536K Total Submissions: 30512   Accepted: 8024 Description You may have heard that no two snowflakes are al...
分类:其他好文   时间:2014-07-13 13:45:20    阅读次数:235
【leetcode】Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:其他好文   时间:2014-07-13 08:13:53    阅读次数:251
Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2", "1", ...
分类:其他好文   时间:2014-07-12 22:43:17    阅读次数:267
LeetCode——Best Time to Buy and Sell Stock II
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy on...
分类:其他好文   时间:2014-07-12 16:31:50    阅读次数:192
开放英语第三册
1. May I help you, madam? -Yes, I ‘d like 2 kilos of oranges2. May I know your address? -Sure. Here you are.3. Well, Mary, how are you?- I’m fine4. I ...
分类:其他好文   时间:2014-07-12 15:05:01    阅读次数:303
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!