【LeetCode & 劍指offer刷題】回溯法與暴力列舉法題4:Generate Parentheses
阿新 • • 發佈:2019-01-06
【LeetCode & 劍指offer 刷題筆記】目錄(持續更新中...)
Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is:C++ //問題:產生括號對