Generate Parentheses [Javascript-Solution required]
Closed this issue · 3 comments
aditya109 commented
Given n
pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
Example 1:
Input: n = 3
Output: ["((()))","(()())","(())()","()(())","()()()"]
Example 2:
Input: n = 1
Output: ["()"]
Constraints:
1 <= n <= 8
Reference: https://leetcode.com/problems/generate-parentheses/
Deleted user commented
@aditya109 Can you please assign this to me?
Deleted user commented
@aditya109 I have Added the solution for the given problem of Generate Parenthesis using JavaScript.
After referring and following the Contributing Guildelines, I have created a PR.
Please review and share your thoughts on the same.
#443
aditya109 commented
This issue was solved by @nisargchokshi , the PR was successfully merged ! Thereby, closing this issue !