← Meta questions
CodingReported in a candidate post, Jul 2025

Evaluate a simple expression with only + and *

Filed under Meta

Write a function that evaluates an arithmetic expression given as a string containing non-negative integers and only the operators + and *. Multiplication has higher precedence than addition. Return…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Meta questions

Collected from public candidate posts and coding forums. Updated Nov 2026.