Basic Calculator II at Airbnb

Medium46.6% acceptance

This problem has 75.0% frequency at Airbnb.

Problem Description

Given a string `s` which represents an expression, _evaluate this expression and return its value_.  The integer division should truncate toward zero. You may assume that the given expression is always valid. All intermediate results will be in the range of `[-231, 231 - 1]`. **Note:** You are no...

Read full problem and hints

Topics

Also asked at 33 companies


More Airbnb Questions

View all Airbnb questions