摘要: Decription: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 解题思路: 将罗马数字的字符串转换成阿拉伯数字。 先来查阅资 阅读全文
posted @ 2017-09-12 13:41 SYSU_Bango 阅读(97) 评论(0) 推荐(0)
摘要: Description: Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) I 阅读全文
posted @ 2017-09-12 13:28 SYSU_Bango 阅读(80) 评论(0) 推荐(0)
摘要: Description: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 Have you thought about this? Here are some goo 阅读全文
posted @ 2017-09-12 13:15 SYSU_Bango 阅读(91) 评论(0) 推荐(0)