Morgan Stanley
3.4 of 5 1,410 reviews
www.morganstanley.com New York, NY 5000+ Employees

Morgan Stanley Technology Associate Interview Question

"if you are asked to build a simple calculator, what do you plan to do? example input - "1+2*3/(5-4)-6 " output - "1" (coded solution is preferred)."
Tags: java, c++, algorithm, code
Add Tags [?]
Answer Flag Question

Part of a Technology Associate Interview Review - one of 914 Morgan Stanley Interview Reviews

Answers & Comments

0
of 1
vote
str="1+2*3/(5-4)-6 ";
i=eval(str);
printf("%d",i);
- MiKL~ on Feb 29, 2012 Flag Response

To comment on this question, Sign In with Facebook or Sign Up


Tags are like keywords that help categorize interview questions that have something in common.

Glassdoor is your free inside look at Morgan Stanley interview questions and advice. All interview reviews posted anonymously by Morgan Stanley employees and interview candidates.