Generate Parentheses (#22)

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

Company Tags: Amazon

Core Concept: Backtracking, Recursion

Solve on LeetCode