in DS
767 views
0 votes
0 votes
Convert the following infix expression to postfix and prefix

A^B^C^D
in DS
by
767 views

1 Answer

5 votes
5 votes
Best answer

@akash28 This is very intresting question 

i learned something new while solving this question 

please be careful while converting infix to prefix using Reversal method

selected by

1 comment

In short : not only priority but also Associativity changes... When you're trying to reverse, apply postfix algo.
1
1

Related questions

0 votes
0 votes
1 answer
4