摘要: DescriptionA prefix of a string is a substring starting at the beginning of the given string. The prefixes of "carbon" are: "c", "ca",... 阅读全文
posted @ 2016-02-05 22:25 Herumw 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionJohn is a manager of a CPU chip factory, the factory produces lots of chips everyday. To manage large amounts of pr... 阅读全文
posted @ 2016-02-05 16:27 Herumw 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionA hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary.You... 阅读全文
posted @ 2016-02-05 13:37 Herumw 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionGiven a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. ... 阅读全文
posted @ 2016-02-05 12:11 Herumw 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Genos recently installed the game Zuma on his phone. In Zuma there exists a line of n gemstones, the i-th of which has color ci. The g... 阅读全文
posted @ 2016-02-05 08:15 Herumw 阅读(154) 评论(0) 推荐(0) 编辑