aditya109/git-osp-for-beginners

Generate Parentheses [Python-Solution required]

Closed this issue · 7 comments

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

Example 1:

Input: n = 3
Output: ["((()))","(()())","(())()","()(())","()()()"]

Example 2:

Input: n = 1
Output: ["()"]

Constraints:

  • 1 <= n <= 8

Reference: https://leetcode.com/problems/generate-parentheses/

I can solve this issue. please assign it to me and I'll work on it tomorrow

Hi @ItIsEntropy ! I have assigned this issue to you. Before raising a PR, please take a look at CONTRIBUTING.md and follow the guidelines. Also, if it is not too much to ask, please consider starring ⭐ the repository. It helps boost the repo popularity and guide more people towards active contribution. That is all. Happy hacking !

Hey, Can I work on this issue under the hacktoberfest label? I have also starred this repo!

As it has been 8 days and no response from the previous assignee, hence clearing the assignee @ItIsEntropy ! 💔

Hey, Can I work on this issue under the hacktoberfest label? I have also starred this repo!

Hi @Hariprasad19036 ! Sure thing. I have assigned this issue to you.
Before raising a PR, please take a look at CONTRIBUTING.md and follow the guidelines.
Also, if it is not too much to ask, please consider starring the repository. It helps boost the repo popularity and guide more people towards active contribution. That is all. Happy hacking !

Hey @aditya109 , can I also resolve this since no PR is attached to this?

Hey, @aditya109 can you please review the PR, added the solution for it.