摘要: 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 @ 2014-07-12 22:04 xchangcheng 阅读(156) 评论(0) 推荐(0) 编辑
摘要: ay you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete at... 阅读全文
posted @ 2014-07-12 21:23 xchangcheng 阅读(187) 评论(0) 推荐(0) 编辑