← Morgan Stanley questions
CodingReported in a candidate post, Oct 2020

Evaluate expression according to BODMAS

Filed under Morgan Stanley

Write a function to evaluate a given mathematical expression string. The expression contains numbers, basic arithmetic operators (+, -, *, /), and parentheses, and should be evaluated following…

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 Morgan Stanley questions

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