Review Note

Last Update: 03/13/2024 10:56 AM

Current Deck: IIIT Nagpur::2nd Semester::5. Data Structures::L-17 Stack Applications-II

Published

Currently Published Content


Front
Infix to Postfix Conversion: Example
Back
 Infix to Postfix Conversion: Example

• Infix expression: K + L - M*N + (O^P) * W/U/V * T + Q
   Input Expression Stack            Postfix Expression
   K                                 K
   +                          +
   L                          +              KL
   -                          -              K L+
   M                          -              K L+ M
   *                          -*             K L+ M
   N                          -*             KL+MN
   +                          +              K L + M N*
                                             K L + M N* -

No published tags.

Pending Suggestions


No pending suggestions for this note.