https://github.com/apachecn/awesome-algorithm/blob/master/docs/Leetcode_Solutions/Python/0022._generate_parentheses.md
关于回溯法讲解的很好 三原则:
对于这道题,在任何时刻,你都有两种选择:
同时有以下限制:
结束条件是: 左右括号都已经用完。