mirror of
https://github.com/labuladong/fucking-algorithm.git
synced 2025-07-04 19:28:07 +08:00
fix code: java 22
This commit is contained in:
@ -26875,7 +26875,6 @@ func backtrack(left int, right int, track *string, res *[]string) {
|
||||
```java
|
||||
// by labuladong (java)
|
||||
class Solution {
|
||||
|
||||
public List<String> generateParenthesis(int n) {
|
||||
if (n == 0) return new ArrayList<>();
|
||||
// 记录所有合法的括号组合
|
||||
|
Reference in New Issue
Block a user