码迷,mamicode.com
首页 >  
搜索关键字:could you do me a favor    ( 45411个结果
Leetcode:Climbing Stairs 斐波那契数
戳我去解题You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you ...
分类:其他好文   时间:2014-05-15 01:55:06    阅读次数:251
Series Determination
Series Determination                                                                       题目描述 Boudreaux and Thibodeaux aren't very good at math, so they need you to write a program that can de...
分类:其他好文   时间:2014-05-15 01:28:56    阅读次数:313
POJ 1002 487-3279
Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the Universit...
分类:其他好文   时间:2014-05-15 00:20:39    阅读次数:332
LeetCode--Linked List Cycle
Linked List Cycle  Total Accepted: 17148 Total Submissions: 49300My Submissions Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra sp...
分类:其他好文   时间:2014-05-15 00:13:50    阅读次数:279
【LeetCode】Linked List Cycle
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?做完Linked List Cycle II在做这...
分类:其他好文   时间:2014-05-14 23:30:00    阅读次数:399
Leetcode:Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock1Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to comp...
分类:其他好文   时间:2014-05-14 22:36:11    阅读次数:353
插入排序
插入排序是最基本基于比较的排序方法,其时间复杂度为Ο(n2),最好情况为初始有序,最坏为逆序。 伪代码如下: insertionSort(A,n) for i=1 to n do key=A[i] for j=i-1 to 0 if ar...
分类:其他好文   时间:2014-05-14 22:35:28    阅读次数:326
LeetCode 008 String to Integer (atoi)
【题目】 Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input cases. Notes: It is intended for this problem to be s...
分类:其他好文   时间:2014-05-14 21:00:57    阅读次数:304
MongoDB---出现no write has been done on this connection解决方案
出现no write has been done on this connection解决方案...
分类:数据库   时间:2014-05-14 19:42:51    阅读次数:403
Best Time to Buy and Sell Stock III
Total Accepted: 8400 Total Submissions: 38235 My Submissions 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 profi...
分类:其他好文   时间:2014-05-14 19:39:53    阅读次数:275
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!