Basic Calculator II at Snapchat

Medium46.6% acceptance

This problem has 87.5% frequency at Snapchat.

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

View all Snapchat questions