摘要:
Description: 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.... 阅读全文
摘要:
Description: Find the number Weak Connected Component in the directed graph. Each node in the graph contains a label and a list of its neighbors. (a ... 阅读全文