DIY: Basic Calculator III
Solve the interview question "Basic Calculator III" in this lesson.
Problem statement
You are given a string s
containing only positive integers, operators ('+'
, '-'
, '*'
, ...
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.