博客园  :: 首页  :: 新随笔  :: 订阅 订阅  :: 管理

2015年4月6日

摘要: Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->... 阅读全文

posted @ 2015-04-06 21:54 NUST小文 阅读(118) 评论(0) 推荐(0) 编辑

摘要: 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 read off as"tw... 阅读全文

posted @ 2015-04-06 17:19 NUST小文 阅读(188) 评论(0) 推荐(0) 编辑

摘要: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo... 阅读全文

posted @ 2015-04-06 13:41 NUST小文 阅读(120) 评论(0) 推荐(0) 编辑