Fun With Expressions Problem | Evaluating the Mathematical Expressions
Problem Statement
Given a string s which represent an expression, evaluate this expression.(No brackets involved)
Integer division should truncate towards zero.
Example 1:
Input: s = "10*20+10"
Output: 210
Example 2:
Input: s = "16*5-5/15"
Output: 80...
buildskillswithsumanth.hashnode.dev4 min read