Lay1998

导航

2020年10月5日 #

生成括号对儿 - Generate Parenthesis - Leetcode - Medium

摘要: 题目 Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. I/O 栗子 Example 1: Input: n = 3 Output: ["(( 阅读全文

posted @ 2020-10-05 23:59 Lay1998 阅读(120) 评论(0) 推荐(0) 编辑