Basic Calculator at DoorDash

Hard46.5% acceptance

This problem has 50.0% frequency at DoorDash.

Problem Description

Given a string `s` representing a valid expression, implement a basic calculator to evaluate it, and return _the result of the evaluation_. **Note:** You are **not** allowed to use any built-in function which evaluates strings as mathematical expressions, such as `eval()`.

Read full problem and hints

Topics

Also asked at 23 companies


More DoorDash Questions

View all DoorDash questions