码迷,mamicode.com
首页 >  
搜索关键字:cant find keyplane    ( 24282个结果
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-07-09 23:32:44    阅读次数:276
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 fol...
分类:其他好文   时间:2014-07-09 23:00:38    阅读次数:208
【LeetCode】Sum Root to Leaf Numbers
题目 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Find ...
分类:其他好文   时间:2014-07-08 21:43:08    阅读次数:219
POJ 2388:Who's in the Middle
Who's in the Middle Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 31015   Accepted: 17991 Description FJ is surveying his herd to find the most average c...
分类:其他好文   时间:2014-07-08 19:43:07    阅读次数:164
Leetcode--3Sum
Problem Description: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: El...
分类:其他好文   时间:2014-07-08 18:31:01    阅读次数:159
poj 2388 Who's in the Middle
Who's in the Middle Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 31149   Accepted: 18073 Description FJ is surveying his herd to find the most average cow...
分类:其他好文   时间:2014-07-08 13:30:10    阅读次数:144
Understanding Safari Reader
Interesting enough to find out the Reader function in Safari is actually Javascript and there are many interesting stuff from the 2000 line code: * 5 main parts in the file: * 1. define const * 2...
分类:其他好文   时间:2014-07-08 13:11:46    阅读次数:469
[leetcode] Max Points on a Line
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
分类:其他好文   时间:2014-07-08 00:41:49    阅读次数:235
CTCI 2.2
Implement an algorithm to find the kth to last element of a singly linked list.Classical "Runner" Technique of linkedlist/*Use two pointers, forward o...
分类:其他好文   时间:2014-07-08 00:37:17    阅读次数:315
ZOJ3605-Find the Marble(概率DP)
Find the Marble Time Limit: 2 Seconds      Memory Limit: 65536 KB Alice and Bob are playing a game. This game is played with several identical pots and one marble. When the game starts, Alice...
分类:其他好文   时间:2014-07-06 11:35:34    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!