The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11. 11 is read o
分类:
其他好文 时间:
2016-02-24 19:17:07
阅读次数:
145
题目链接 The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11.11 is rea
分类:
其他好文 时间:
2016-02-23 06:05:29
阅读次数:
268
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11.11 is read off
分类:
其他好文 时间:
2016-01-30 09:35:35
阅读次数:
317
LeetCode解题之Count and Say原题把一个数字用几个几的形式表示出来。如2就是1个2,即12。对12进行数数得到1112,依次类推。假设初始数字是1,求第n个数是什么。起始5个数字为1, 11, 21, 1211, 111221, …...
分类:
其他好文 时间:
2015-12-28 10:35:53
阅读次数:
149
题目:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read o...
分类:
其他好文 时间:
2015-12-25 13:07:30
阅读次数:
136
class Solution(object): def countAndSay(self, n): """ :type n: int :rtype: str """ s='1' for i in range(2...
分类:
编程语言 时间:
2015-12-20 14:39:34
阅读次数:
148
一道比较有意思的水题。题目The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is r...
分类:
其他好文 时间:
2015-12-19 01:26:36
阅读次数:
248
题目连接https://leetcode.com/problems/count-and-say/Count and SayDescriptionThe count-and-say sequence is the sequence of integers beginning as follows:1,...
分类:
其他好文 时间:
2015-12-11 22:04:25
阅读次数:
156
题目:
The count-and-say sequence is the sequence of integers
beginning as follows:
1, 11, 21, 1211, 111221, …
1 is read off as “one 1” or 11.
11 is read off as “two 1s” or 21.
21 is read...
分类:
其他好文 时间:
2015-12-03 15:39:01
阅读次数:
185
题目描述:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read...
分类:
编程语言 时间:
2015-11-16 22:51:40
阅读次数:
244