码迷,mamicode.com
首页 >  
搜索关键字:would you like some more rice    ( 45620个结果
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...
分类:其他好文   时间:2014-06-04 18:18:08    阅读次数:259
杭电1078(记忆搜索)
一道记忆搜索题,记忆搜索题就是搜索的形式+DP的思想!题目:FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid locatio...
分类:其他好文   时间:2014-06-03 14:14:28    阅读次数:466
Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-06-03 14:12:24    阅读次数:306
10种散发着爱情信号的肢体语言
10 body language love signals 10种散发着爱情信号的肢体语言 Do you ever wish there was a magic wand that would make you more attractive to the opposite sex, or at l...
分类:其他好文   时间:2014-06-03 12:15:10    阅读次数:359
Centos6.x/Oracle11G 自动化静默安装配置脚本
部分脚本截图如下,要想玩转联系Ruiy哥提供脚本下载路径,附件在本博客的文件栏中维护,为了避免懒人一味的索取别人的劳动成果特此如此;想玩的Ruiy mail to you!快6.1了,6.1娃子们的节日!也是Ruiy哥的节日;rsp配置文件部分下面的截图来源于安装进度过程中的随机截图,无序无规律,这...
分类:数据库   时间:2014-05-30 23:04:37    阅读次数:491
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
Populating Next Right Pointers in Each Node II
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:其他好文   时间:2014-05-30 16:17:49    阅读次数:210
Construct Binary Tree from Inorder and Postorder Traversal
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree./** * Definiti...
分类:其他好文   时间:2014-05-30 16:12:22    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!