solulubeta
Sign in
NeetCode 150 / Stack
04.04 · Problem

Generate Parentheses

Medium Backtracking with open/close counts 1 video LC 22 Pro

This problem is part of solulu Pro

Given n, return all strings of n pairs of parentheses that are well-formed (balanced), in any order.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 24 of 150 · updated 2026-10-12