fullstackDevelopment
fullstackDevelopment copied to clipboard
added cpp program to generate parenthesis issue #482
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