摘要: You are given an integer array prices where prices[i] is the price of a given stock on the ith day. Design an algorithm to find the maximum profit. Yo 阅读全文
posted @ 2020-10-18 16:54 fatttcat 阅读(94) 评论(0) 推荐(0) 编辑
摘要: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at this place are ar 阅读全文
posted @ 2020-10-18 16:43 fatttcat 阅读(122) 评论(0) 推荐(0) 编辑
摘要: There are some spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of the horizontal 阅读全文
posted @ 2020-10-18 16:31 fatttcat 阅读(129) 评论(0) 推荐(0) 编辑