10000 generate parentheses · jhideki/rust_leetcode@454c526 · GitHub
[go: up one dir, main page]

Skip to content

Commit 454c526

Browse files
committed
generate parentheses
1 parent 1c4c41c commit 454c526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate_parentheses.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl Solution {
2929
Self::rec_helper(num_open + 1, num_closed, strings, string_copy, num);
3030
} else {
3131
string.push_str("(");
32-
Self::rec_helper(num_open + 1, num_closed, strings, string, num);
32+
Self::rec_helper(num_open + 1, num_closed + , strings, string, num);
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)
0