Dsa
Math
Medium
Balanced Parentheses Expressions
Given a number n, return the total number of valid combinations of balanced parentheses expressions that can be formed using n pairs of parentheses. The input will be a single integer.
Example:
Input:
3
Output:
5
Key concepts
mathcombinatoricsstring
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now