摘要: 7. Reverse Integer Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 此题题意为反转一个整数个各个数字,比如123,翻转后为321 java代码: 但 阅读全文
posted @ 2017-03-18 23:40 世人谓我恋长安 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 13. Roman to Integer Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 给定一个罗马数字s,( I<=s<=MMM 阅读全文
posted @ 2017-03-18 23:02 世人谓我恋长安 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Excel Sheet Column Number Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding colu 阅读全文
posted @ 2017-03-18 22:38 世人谓我恋长安 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Fizz Buzz Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of 阅读全文
posted @ 2017-03-18 18:20 世人谓我恋长安 阅读(179) 评论(0) 推荐(0) 编辑