Search
⌘K
Get Premium
Leetcode 1678. Goal Parser Interpretation
Parse a string made of tokens "G", "()" and "(al)" and return the concatenation after mapping each token to its interpretation ("G"→"G", "()"→"o", "(al)"→"al"). This is a straightforward linear-time pattern-matching/string-parsing task.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.