Skip to content

Commit

Permalink
Add day40
Browse files Browse the repository at this point in the history
  • Loading branch information
MadhavBahl committed Feb 13, 2019
1 parent 377920f commit 276a4ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions day40/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
# Day 40 - Prerfix, Infix, Postfix Conversion

**Infix Expression**: The expression of the form a op b. When an operator is in-between every pair of operands.

**Example**: ( (A * B) + (C / D) )

**Prefix Operation**: An expression is called the prefix expression if the operator appears in the expression before the operands. Simply of the form (operator operand1 operand2)

**Example**: (+ (* A B) (/ C D) )

**Postfix Expression**: The expression of the form a b op. When an operator is followed for every pair of operands.

**Example**: ( (A B *) (C D /) +)

## Question 1
Expand Down

0 comments on commit 276a4ee

Please sign in to comment.