https://leetcode.com/problems/roman-to-integer/原题:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to...
分类:
其他好文 时间:
2015-06-03 00:43:07
阅读次数:
181
在前面学习使用ActionBar的时候,我们就发现ActionBar中有些方法被标记为过时了,原来在android5.0之后,google推出了一个新的导航工具栏,官方将其定义为:A standard toolbar for use within application content.使用Toolbar将会比ActionBar更加有弹性,更加灵活。
老规矩,先看Toolbar效果图:
...
分类:
其他好文 时间:
2015-06-02 09:19:08
阅读次数:
191
题目:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2...
分类:
其他好文 时间:
2015-05-30 18:13:22
阅读次数:
130
Integer to Roman
题目:
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999. 题意:
给于一个整型数字范围在1-3999,将它转化为罗马数字 思路:
将罗马数字用键-值标识出来,转换即可。...
分类:
其他好文 时间:
2015-05-30 13:35:22
阅读次数:
149
Maximum Product SubarrayTitle:Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example,...
分类:
其他好文 时间:
2015-05-29 13:37:55
阅读次数:
98
This pseudocode from the book: > _ Anany LevitinNote that throughout the paper, we assume that inputs to algorithms fall within their specified ranges...
分类:
其他好文 时间:
2015-05-27 20:57:46
阅读次数:
134
Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [?2,1,?3,4,?1,2,1,?5,4],
the contiguous ...
分类:
其他好文 时间:
2015-05-27 17:18:16
阅读次数:
103
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:
其他好文 时间:
2015-05-27 08:37:27
阅读次数:
126
This pseudocode from the book:> _ Anany LevitinNote that throughout the paper, we assume that inputs to algorithms fall within their specified ranges ...
分类:
其他好文 时间:
2015-05-25 22:15:11
阅读次数:
190
This pseudocode from the book:> _ Anany LevitinNote that throughout the paper, we assume that inputs to algorithms fall within their specified ranges ...
分类:
其他好文 时间:
2015-05-23 22:39:13
阅读次数:
254