Amazon Interview Question

Technical Question. Given a string such as 3 + 2 / 5 - 3 * 4, calculate it.

Interview Answers

Anonymous

Feb 28, 2014

They were extremely contradictory in their way of explaining things to me. The interviewers both also had thick accents, which made it difficult to understand.

Anonymous

Jul 8, 2015

I would use dijkstra's algorithm using stack.