Back to QuestionsPractice with This Question
Generate Parentheses
72.5K views•Asked at Google•
Medium
Question Explain
Given $n$ pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.