String Calculator
String Calculator
Given an expression string s containing non-negative integers, spaces, and the operators +, -, *, and /, evaluate the expression and return its result.
- Follow standa...
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:
