[LeetCode/Kotlin]Medium - 22. Generate Parentheses
·
LeetCode/Kotlin | Medium
Generate Parentheses - LeetCode Can you solve this real interview question? Generate Parentheses - Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3 Output: ["((()))","(()())","(())()","()(())","()()()"] Exa leetcode.com 문제 Given n pairs of parentheses, write a function to generate all combinations of well-formed paren..