摘要:
题目描述:Roman to IntegerGiven a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.分析:① 输入为VII,则数字为V + I +... 阅读全文
posted @ 2015-02-07 14:57
Yano_nankai
阅读(104)
评论(0)
推荐(0)
摘要:
题目描述:Integer to RomanGiven an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.罗马数字的计数方法:基本字符IVXLCDM相应... 阅读全文
posted @ 2015-02-07 14:46
Yano_nankai
阅读(130)
评论(0)
推荐(0)
摘要:
题目描述:Container With Most WaterGivennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn s... 阅读全文
posted @ 2015-02-07 14:36
Yano_nankai
阅读(136)
评论(0)
推荐(0)
摘要:
题目描述:Regular Expression MatchingImplement regular expression matching with support for'.'and'*''.' Matches any single character.'*' Matches zero or mo... 阅读全文
posted @ 2015-02-07 13:31
Yano_nankai
阅读(103)
评论(0)
推荐(0)
摘要:
题目描述:Palindrome NumberDetermine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie... 阅读全文
posted @ 2015-02-07 13:17
Yano_nankai
阅读(104)
评论(0)
推荐(0)
摘要:
题目描述:String to Integer (atoi)Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge,... 阅读全文
posted @ 2015-02-07 13:08
Yano_nankai
阅读(127)
评论(0)
推荐(0)
摘要:
题目描述:Reverse IntegerReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321Have you thought about this?Here are some g... 阅读全文
posted @ 2015-02-07 13:00
Yano_nankai
阅读(138)
评论(0)
推荐(0)
摘要:
题目描述:ZigZag ConversionThe string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this patt... 阅读全文
posted @ 2015-02-07 12:51
Yano_nankai
阅读(110)
评论(0)
推荐(0)

浙公网安备 33010602011771号