Newgen Interview Question

convert infix to postfix using stack.