6 2 3 * / 4 2 * + 6 8 * -
Push 6 into stack, Push 2 into stack, Push 3 into stack
Now we encounter operator, So pop top 2 elements and apply operator between them, it should be like
( second_pop operator first_pop ) ==> 2 * 3 but not 3 * 2
result is 6 ==> push into the stack.
Now we encounter operator, So pop top 2 elements and apply operator between them, it should be like
( second_pop operator first_pop ) ==> 6 / 6
result is 1 ==> push into the stack.
Push 4 into stack, Push 2 into stack
Now we encounter operator, So pop top 2 elements and apply operator between them, it should be like
( second_pop operator first_pop ) ==> 4 * 2
result is 8 ==> push into the stack.
question is asking about till evaluate upto 2$^{nd}$ * evaluated, ==> our task complete
Top of the two elements of our stacks is 8,1 in the order from top to bottom