Integer to Roman问题:Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.思路: 映射方法-->等长数组我的代码:publ....
分类:
其他好文 时间:
2015-03-05 16:52:59
阅读次数:
141
Maximum Subarray问题:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the arra...
分类:
其他好文 时间:
2015-03-05 16:10:15
阅读次数:
129
Roman to Integer问题:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.思路:转换公式而已 前面的比自己大 相加 前面的比...
分类:
其他好文 时间:
2015-03-05 12:39:02
阅读次数:
126
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
这个题目首先要了解罗马数字的拼写规则(以下引自维基百科):罗马数字共有7个,即I(1)、V(5)、X(10)、L(50)、C(100)、D(500)和M(1000)。按照下述的规则...
分类:
其他好文 时间:
2015-03-03 15:19:41
阅读次数:
206
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
欲了解罗马数字的拼写规则请参考:http://blog.csdn.net/chfe007/article/details/44037079C++代码实现如下: string...
分类:
其他好文 时间:
2015-03-03 15:10:43
阅读次数:
132
All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to identify repeated sequences within the DNA.
Write...
分类:
其他好文 时间:
2015-03-02 22:31:36
阅读次数:
166
IQAudioRecorderControllerIQAudioRecorderController is a drop-in universal library allows to record audio within the app with a nice User Interface. Th...
分类:
其他好文 时间:
2015-03-01 23:37:35
阅读次数:
261
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/43989997
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...
分类:
其他好文 时间:
2015-02-28 21:39:28
阅读次数:
164
产生library cache latch原因The library cache latches protect the cached SQL statements and objects' definitions held in the library cache within the share...
分类:
系统相关 时间:
2015-02-27 16:49:49
阅读次数:
172
怎样看懂Oracle的执行计划一、什么是执行计划An explain plan is a representation of the access path that is taken when a query is executed within Oracle.二、如何访问数据At the phy...
分类:
数据库 时间:
2015-02-26 14:38:27
阅读次数:
163