Skip to content
Related Articles

Related Articles

Algorithms Quiz | SP Contest 3 | Question 1
  • Last Updated : 25 Jul, 2018
GeeksforGeeks - Summer Carnival Banner

What will be the equivalent postfix expression of the given infix expression:

Infix Expression: a+b*(c/d-e/f)/(g^h)-i 

(A) abcd / ef / – * gh ^ / + i –
(B) abcd / ef / – * gh ^ / + – i
(C) abcd / ef / – * gh / ^ + i –
(D) abcd / ef / – * gh ^ / – + i


Answer: (A)

Explanation: https://www.geeksforgeeks.org/stack-set-2-infix-to-postfix/

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :