Basic Calculator II at Meta

Medium46.6% acceptance

This problem has 87.5% frequency at Meta.

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 Meta Questions

View all Meta questions