Basic Calculator II at Yandex

Medium46.6% acceptance

This problem has 50.0% frequency at Yandex.

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

View all Yandex questions