Algorithm · Amazon · Medium
Requirements Input is an arithmetic expression written in postfix, also known as reverse Polish notation. Establish the supported operators (+, -, *, /), whether division yields integers or floating-point values, how negative values work, how whitespace separates tokens, and what should happen for malformed expressions. Supported operators are +, -, *, and /. Tokens are separated by whitespace, operands are signed integer literals, and negative values are allowed. Division…
Checking your access…