码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Codeforces goodbye 2014 c
/** ?*?@brief?good?bye?2014?c ?*?@file?c.cpp ?*?@author?mianma ?*?@created?2014/01/06??16:42 ?*?@edited??2014/01/06??16:42 ?*?@type?game ?*?@note? ?*/ #include?<fstr...
分类:数据库   时间:2015-01-06 18:24:48    阅读次数:205
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 may ...
分类:其他好文   时间:2015-01-06 15:41:54    阅读次数:189
Leetcode: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...
分类:其他好文   时间:2015-01-06 15:28:32    阅读次数:131
Codeforces goodbye 2014 b
/** ?*?@brief?good?bye?2014?b ?*?@file?b.cpp ?*?@author?mianma ?*?@created?2014/01/06??10:20 ?*?@edited??2014/01/06??10:20 ?*?@type?dfs?greedy? ?*?@note ?*/ #include...
分类:数据库   时间:2015-01-06 12:14:44    阅读次数:291
LeetCode:Construct Binary Tree from Preorder and Inorder Traversal
题目描述: Given preorder and inorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 解题思路:先序遍历的第一个元素为根元素,在中序遍历序列中找到根元素的位置。中...
分类:其他好文   时间:2015-01-06 11:58:44    阅读次数:159
study note--(Education)
some good temoplates:A child's education has never been about learning information and basic skills only.the template I can use is that:*** has/ have ...
分类:其他好文   时间:2015-01-06 11:23:34    阅读次数:183
[C++]LeetCode: 69 Multiply Strings
题目: Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-negative. Answer 1: 基础法 大整数...
分类:编程语言   时间:2015-01-06 10:11:54    阅读次数:222
[C++]LeetCode: 70 3Sum
题目: 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: Elements in a tripl...
分类:编程语言   时间:2015-01-06 10:06:42    阅读次数:130
Factorial Trailing Zeroes
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42417535 Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic...
分类:其他好文   时间:2015-01-06 10:06:32    阅读次数:122
[leetcode] Construct Binary Tree from Preorder and Inorder Traversal
题目:Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree./** * Defini...
分类:其他好文   时间:2015-01-06 07:09:29    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!