fullstackDevelopment icon indicating copy to clipboard operation
fullstackDevelopment copied to clipboard

added cpp program to generate parenthesis issue #482

Open simran2607 opened this issue 3 years ago β€’ 0 comments


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 πŸ“

  • βœ…Code

Programming Language

  • βœ…C++

Domain of Contribution πŸ“Š

  • βœ… Backtracking

simran2607 avatar Oct 01 '21 11:10 simran2607