摘要:
题意: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. (Hard) 分析: 方法1: 利用做过的merge 2 sorted list,将头两个归并 阅读全文
摘要:
题意: iven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is 阅读全文