ishangoyal13 / fullstackDevelopment

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

added cpp program to generate parenthesis issue #482 #512

Open simran2607 opened 3 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: ["((()))","(()())","(())()","()(())","()()()"]

Type of change πŸ“