摘要: 题目链接 题目要求: A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26 Given an enco... 阅读全文
posted @ 2015-06-11 23:03 峰子_仰望阳光 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题目要求: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array[... 阅读全文
posted @ 2015-06-11 20:33 峰子_仰望阳光 阅读(636) 评论(0) 推荐(0) 编辑
摘要: Best Time to Buy and Sell Stock I 题目链接 题目要求: Say you have an array for which theithelement is the price of a given stock on dayi. If you were only... 阅读全文
posted @ 2015-06-11 17:00 峰子_仰望阳光 阅读(624) 评论(0) 推荐(0) 编辑