02 2018 档案
摘要:Determine whether an integer is a palindrome. Do this without extra space. 方法一: 思路: 判断一个整数是否为回文结构与Reverse Integer思路几乎相同,稍微修改即可。 方法二: 思路:将x转化为字符串再翻转,再将
阅读全文
摘要:Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environment which cou
阅读全文
摘要: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 would have ex
阅读全文

浙公网安备 33010602011771号