[nb] Commit

This commit is contained in:
2021-08-03 12:42:59 -05:00
parent ff75f25f66
commit db3f97e461
4 changed files with 187 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
function generateParenthesis(n) {
if (n == 1) {
return ['()'];
}
if (n == 2) {
return ['()()', '(())'];
}
const input = [];
for (i = 0; i < n; i++) {
input.push('()');
}
for(i = 0; i < n; i++; i++) {
}
}