Asked to implement the something like 4*5+9 there can only be integers and only + - * and / operand
Software QA/Tests Interview Questions from Microsoft
(Continued from previous question...)
Asked to implement the something like 4*5+9
there can only be integers and only + - * and / operand
Question:
Asked to implement the something like 4*5+9
there can only be integers and only + - * and / operand
maybe an answer:
1. Infix to postfix - Shunting yard algorithm
2. evaluate postfix expression algorithm
the normal expression to the postfix expression.
use the stack to help the alg run
(Continued on next question...)
Other Interview Questions
|