in DS closed by
1,292 views
1 vote
1 vote
closed as a duplicate of: Infix to postfix

Conver the following infix to Postfix and Prefix 

  1.  $log ( 3 ! )^ {log4} *log log ((6/7)*4+x)!$
  2. $ sin 2x cos (3x+4) $
     

Please use stack method to solve . Diagram would be appreciated 

in DS closed by
by
1.3k views

4 Comments

@vijaycs

One such question is here, rt ?

https://gateoverflow.in/70534/infix-to-postfix

Also, making expression tree looks easy as the second answer does !! 

0
0
@Kapil, yes.
1
1
I believe a correction is required in the 1st. The exponentiation takes second precedence and is after the log is done. so

3!log4log^67/4*X+loglog!*
0
0