Coding
Evaluate a mathematical expression given as a string.
Given a string representing a mathematical expression, evaluate it and return its value. The expression can contain basic arithmetic operators, and integer division should truncate toward zero.
Input: s = "3+5/2"
Output: 5
Explanation: Following the order of operations (PEMDAS), 5 / 2 = 2 (integer division), and 3 + 2 = 5.
Was asked at