KUMAR SHIVAM

Explain briefly Infix expression, Polish Notation and Reverse Polish Notation ?

Data Structures and Algorithms

Answer in Short

Infix expression- The expression in which operator is placed in between operands. Polish Notation are .... names after the Polish Mathematician Jan Lukasiewiez, refers to the expression in which the operator is placed before the operands also called

Explanation

971    0

==> Infix expression---

  • The expression in which operator is placed in between operands
  • Ex. a+b

==> Polish Notation---

  •  - names after the Polish Mathematician Jan Lukasiewiez, refers to the expression in which the operator is placed before the operands also called prefix expression.
  • Ex. +ab

==> Reverse Polish Notation---

  • refers to the expression in which the operator is placed after the operands also called postfix expression or suffix Expression.
  • Ex. ab+ 



Share:   

More Questions from Data Structures and Algorithms Module 2