摘要: [抄题]: Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: Example 1: Example 2: Example 3: [暴力解法 阅读全文
posted @ 2018-05-01 22:05 苗妙苗 阅读(226) 评论(0) 推荐(0)
摘要: [抄题]: Given a column title as appear in an Excel sheet, return its corresponding column number. For example: Example 1: Example 2: Example 3: [暴力解法]: 阅读全文
posted @ 2018-05-01 17:04 苗妙苗 阅读(437) 评论(0) 推荐(0)
摘要: [抄题]: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is 阅读全文
posted @ 2018-05-01 16:08 苗妙苗 阅读(147) 评论(0) 推荐(0)
摘要: [抄题]: 将一个整数中的数字进行颠倒,当颠倒后的整数溢出时,返回 0 (标记为 32 位整数)。 将一个整数中的数字进行颠倒,当颠倒后的整数溢出时,返回 0 (标记为 32 位整数)。 将一个整数中的数字进行颠倒,当颠倒后的整数溢出时,返回 0 (标记为 32 位整数)。 样例 给定 x = 12 阅读全文
posted @ 2018-05-01 11:33 苗妙苗 阅读(143) 评论(0) 推荐(0)
摘要: [抄题]: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Examp 阅读全文
posted @ 2018-05-01 10:18 苗妙苗 阅读(114) 评论(0) 推荐(0)