摘要: Given an integer, return its base 7 string representation. Example 1: Example 2: Note: The input will be in range of [-1e7, 1e7]. 给一个整数,返回它的七进制数。 解法1: 阅读全文
posted @ 2018-10-27 09:29 轻风舞动 阅读(498) 评论(0) 推荐(0) 编辑
摘要: We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself. Now, given an integer n, write 阅读全文
posted @ 2018-10-27 09:08 轻风舞动 阅读(804) 评论(0) 推荐(0) 编辑
摘要: Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Examp 阅读全文
posted @ 2018-10-27 08:39 轻风舞动 阅读(262) 评论(0) 推荐(0) 编辑
摘要: Suppose LeetCode will start its IPO soon. In order to sell a good price of its shares to Venture Capital, LeetCode would like to work on some projects 阅读全文
posted @ 2018-10-27 06:41 轻风舞动 阅读(752) 评论(0) 推荐(0) 编辑
摘要: In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attacking ascend 阅读全文
posted @ 2018-10-27 06:29 轻风舞动 阅读(530) 评论(0) 推荐(0) 编辑
摘要: Print a binary tree in an m*n 2D string array following these rules: Example 1: Example 2: Example 3: Note: The height of binary tree is in the range 阅读全文
posted @ 2018-10-27 04:47 轻风舞动 阅读(651) 评论(0) 推荐(0) 编辑