22-generate-parentheses
匹配括号
思路
这题这届枚举一下就好了,但是生成时候前括号的数一定要大于后括号
go解体犯法
1 | func generateParenthesis(n int) []string { |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment
这题这届枚举一下就好了,但是生成时候前括号的数一定要大于后括号
1 | func generateParenthesis(n int) []string { |