โ† Directi questions

Count balanced parenthesis strings from two source strings

Filed under Directi

The question

Given two strings of parenthesis, generate all possible combined strings preserving the relative order of characters from each string, and count how many resulting strings have completely balanced parentheses.

No write-up yet. Related questions below have one.

Related Directi questions

Collected from public candidate posts and coding forums. Updated Nov 2026.