摘要: Given an array of length n that stores a stock's price in n consecutive days, Buy/Sell stock with at most K transactions to maximize profit. You must 阅读全文
posted @ 2017-08-29 13:45 Review->Improve 阅读(418) 评论(0) 推荐(0) 编辑
摘要: Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding elemen 阅读全文
posted @ 2017-08-29 13:35 Review->Improve 阅读(344) 评论(0) 推荐(0) 编辑
摘要: Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including 阅读全文
posted @ 2017-08-29 10:47 Review->Improve 阅读(245) 评论(0) 推荐(0) 编辑