Lesson 10 of 10 • 0 upvotes • 11:19mins
While we use infix expressions in our day to day lives. Computers have trouble understanding this format because they need to keep in mind rules of operator precedence and also brackets. Prefix and Postfix expressions are easier for a computer to understand and evaluate. Given two operands a and b and an operator \odot, the infix notation implies that O will be placed in between a and b i.e a \odot b . When the operator is placed after both operands i.e ab\odot, it is called postfix notation. And when the operator is placed before the operands i.e \odot a b, the expression in prefix notation.
10 lessons • 1h 41m
Course overview
7:16mins
Stack Introduction : Part I
8:02mins
Stack Introduction : Part II
8:30mins
Stack Implementation : Part I
13:44mins
Stack Implementation : Part II
10:32mins
Stack Implementation : Part III
11:10mins
Recursion : Part I
12:22mins
Recursion :Part II
10:01mins
Recursion Part-III
8:07mins
Infix, Prefix, and Postfix Expression
11:19mins