ishangoyal13 / fullstackDevelopment

Material & Projects related to full stack development
125 stars 207 forks source link

Generate all valid parenthesis #482

Closed simran2607 closed 2 years ago

simran2607 commented 3 years ago

Description

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3 Output: ["((()))","(()())","(())()","()(())","()()()"]

Language

C++

Domain

Backtracking

Type of Contribution

Code

Code of Conduct

iamsunil25 commented 3 years ago

@simran2607 i want to work on this issue

simran2607 commented 3 years ago

@simran2607 i want to work on this issue

Already created the pull request for the same. You may create new issue and work on that. Happy coding. :-)