Google·Software Engineer·Technical Phone Screen
- Implement a function that parses and evaluates a string of nested arithmetic calls like add(1, sub(1, 0)), supporting arbitrary nesting depth.
- Given a list of bombs each with a position and blast radius, return the maximum number of bombs that can chain-explode if you choose exactly one bomb to detonate first.
“I went straight for recursion and it mostly worked, but splitting the arguments was where I fumbled.”