码迷,mamicode.com
首页 >  
搜索关键字:roman to integer    ( 15811个结果
[Leetcode] First Missing Positive
Questions:Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm...
分类:其他好文   时间:2014-06-13 13:16:42    阅读次数:205
【自用】爬虫配置XML时拼接URL中文转Unicode问题(例如北京转成%u5317%u4EAC)
${"%u"+java.lang.Integer.toHexString(region.toString().charAt(s.toInt()))} 这样转换成的每个字符后面会有空行,用的时候需要regionUnicode.toSt...
分类:其他好文   时间:2014-06-12 17:47:11    阅读次数:186
【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...
分类:其他好文   时间:2014-06-10 20:44:02    阅读次数:298
[leetcode]Roman to Integer @ Python
原题地址:https://oj.leetcode.com/problems/roman-to-integer/题意:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range f...
分类:编程语言   时间:2014-06-10 19:34:10    阅读次数:255
[leetcode]Integer to Roman @ Python
原题地址:https://oj.leetcode.com/problems/integer-to-roman/题意:Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range f...
分类:编程语言   时间:2014-06-10 17:06:11    阅读次数:261
Leetcode: Integer to Roman
一次过 1 public class Solution { 2 public String intToRoman(int num) { 3 StringBuffer res = new StringBuffer(); 4 if (num > 3999 || n...
分类:其他好文   时间:2014-06-10 16:12:12    阅读次数:215
[leetcode]Palindrome Number @ Python
原题地址:https://oj.leetcode.com/problems/palindrome-number/题意:Determine whether an integer is a palindrome. Do this without extra space.click to show spo...
分类:编程语言   时间:2014-06-10 16:06:52    阅读次数:286
【leetcode】First Missing Positive
Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant...
分类:其他好文   时间:2014-06-10 07:42:16    阅读次数:244
oracle 创建tablespace详细说明
CREATE [UNDO]  TABLESPACE tablespace_name           [DATAFILE datefile_spec1 [,datefile_spec2] ......    [{MININUM EXTENT integer [k|m]    |BLOCKSIZE integer [k]    |logging clause | FORCE LOGGING...
分类:数据库   时间:2014-06-10 06:13:58    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!