摘要: Roman to Integer问题leetcodejavatitle: 1.问题描述Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.{"","I","II","III","IV","V","VI","VII","VIII","IX... 阅读全文
posted @ 2017-09-13 17:18 流泉滴沙 阅读(160) 评论(0) 推荐(0)
摘要: Integer to Roman 问题leetcodejava 1.问题描述Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.题目翻译:把给定的一个整数翻译成罗马数字,这个整数限定在1到3999范围内。 2.解题思路这道题给的范围很... 阅读全文
posted @ 2017-09-13 16:47 流泉滴沙 阅读(154) 评论(0) 推荐(0)
摘要: Container With Most Water问题leetcodejavadp 1.问题描述Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo... 阅读全文
posted @ 2017-09-13 16:23 流泉滴沙 阅读(171) 评论(0) 推荐(0)