LeetCode — Generate Parentheses
Problem statement
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
Problem statement taken from: https://leetcode.com/problems/generate-parentheses
Example 1:
Input: n = 3
Output: ["((()))", "(...
alkesh26.hashnode.dev5 min read