码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Binary Tree Postorder Traversal
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42876769 Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [3,2,1]. Note: ...
分类:其他好文   时间:2015-01-19 21:09:14    阅读次数:152
Single Number II
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42877129 Given an array of integers, every element appears three times except for one. Find that single one. Note: Y...
分类:其他好文   时间:2015-01-19 21:08:56    阅读次数:218
leetcode----------Merge Sorted Array
题目Merge Sorted Array通过率30.7%难度EasyGiven two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough sp...
分类:其他好文   时间:2015-01-19 20:46:52    阅读次数:115
LeetCode Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->5->NULL.Note:Given m, n satisfy the following condi...
分类:其他好文   时间:2015-01-19 15:54:39    阅读次数:141
小米Note如何?看看老外是怎么说的
虽然雷军不断拿iPhone 6 Plus做对比,不过TheVerge还是认为小米和苹果有着非常大的不同,就苹果而言,这家公司已经到了追求手机内涵的阶段,而不是简单的硬件堆砌。苹果的宗旨是,能自己做的事情,就自己来做。而小米仍然停留在拿配置说事儿的阶段,并且这些配置都是别人的。 近日发布的小米Note手机,不仅霸占了科技媒体的头条,财经乃至时尚媒体也在投入巨大的精力关注。这种影响力不仅仅体现在...
分类:移动开发   时间:2015-01-19 12:52:53    阅读次数:199
Multiply Strings -- leetcode
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. 用字符串表示的整数,做乘法运算。 如人工做乘法运算的步骤一样,实现了本算...
分类:其他好文   时间:2015-01-19 09:22:47    阅读次数:136
Pascal's triangle II Leetcode Python
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to use only O(k) extra space? 这题和前面一题的区别...
分类:编程语言   时间:2015-01-19 09:17:31    阅读次数:185
leetcode 【 Pascal's Triangle II 】python 实现
题目:Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onl...
分类:编程语言   时间:2015-01-18 22:30:51    阅读次数:291
[leetcode] 18 4Sum
问题描述: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note:...
分类:其他好文   时间:2015-01-18 21:09:04    阅读次数:140
[LeetCode]179.Largest Number
【题目】 Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. Note: The result...
分类:其他好文   时间:2015-01-18 14:27:55    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!