摘要: Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is b 阅读全文
posted @ 2016-10-31 07:34 微微程序媛 阅读(756) 评论(0) 推荐(0)
摘要: Shuffle a set of numbers without duplicates. Example: 阅读全文
posted @ 2016-10-31 06:07 微微程序媛 阅读(286) 评论(0) 推荐(0)
摘要: 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 @ 2016-10-31 05:08 微微程序媛 阅读(202) 评论(0) 推荐(0)
摘要: 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 @ 2016-10-31 04:09 微微程序媛 阅读(111) 评论(0) 推荐(0)
摘要: 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 @ 2016-10-31 04:08 微微程序媛 阅读(154) 评论(0) 推荐(0)
摘要: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction 阅读全文
posted @ 2016-10-31 04:08 微微程序媛 阅读(113) 评论(0) 推荐(0)