Fork me on GitHub
摘要: 13、Roman to Integer Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, two is written as II in Roman nume 阅读全文
posted @ 2018-11-28 22:09 皮皮丶码 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 9、Palindrome Number Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Ex 阅读全文
posted @ 2018-11-28 21:30 皮皮丶码 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 7、Reverse Integer Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: 解析: 输入:整数 输出:整数 代码思想: 首先,对非0整数从个位数开始向左 阅读全文
posted @ 2018-11-28 21:14 皮皮丶码 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1、Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou 阅读全文
posted @ 2018-11-28 20:47 皮皮丶码 阅读(422) 评论(3) 推荐(0) 编辑