Generate Parentheses at ServiceNow

Medium78.2% acceptance

This problem has 75.0% frequency at ServiceNow.

Problem Description

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

Read full problem and hints

Topics

Also asked at 39 companies


More ServiceNow Questions

View all ServiceNow questions