fullstackDevelopment icon indicating copy to clipboard operation
fullstackDevelopment copied to clipboard

Generate all valid parenthesis

Open simran2607 opened this issue 3 years ago • 2 comments

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

  • [X] I follow Contributing Guidelines & Code of conduct.

simran2607 avatar Oct 01 '21 11:10 simran2607

@simran2607 i want to work on this issue

iamsunil25 avatar Oct 01 '21 11:10 iamsunil25

@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. :-)

simran2607 avatar Oct 01 '21 13:10 simran2607