2017年5月3日
摘要: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple 阅读全文
posted @ 2017-05-03 16:10 无惧风云 阅读(128) 评论(0) 推荐(0)
摘要: Find the sum of all left leaves in a given binary tree. Example: 阅读全文
posted @ 2017-05-03 08:52 无惧风云 阅读(144) 评论(0) 推荐(0)