Microsoft Interview Question

Write code to solve a problem in Polish notation. e.g : 1 2 3 + / is 1/(2+3)

Interview Answers

Anonymous

Sep 29, 2017

Stack is the best solution than tree

1

Anonymous

Sep 5, 2015

Solve it using a stack

2

Anonymous

Sep 29, 2017

Use binary tree