Calculate Equation Expression

Problem

Given variable assignments and a target variable, compute the target's integer value. Return the empty string "" if its value cannot be determined.

The interview had three stages:

  1. Eac...

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: