Parse Nested Parenthesized Expression
Given a string containing nested parentheses, commas and whitespace, parse it into a nested list.
Rules:
- A token is a string of characters that are not parentheses, commas or whitespace. All wh...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
