Open In App

Algorithms Quiz | SP Contest 3 | Question 1

Last Updated : 25 Jul, 2018
Like Article
Like
Save
Share
Report

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


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads