Tag Archives: data structure

Infix to Prefix Conversion

3. Convert Infix Expression to Prefix Expression Problem: Given an infix expression, output the expression in Prefix (Polish Notation) form. For e.g. Solution: This implementation is done using C#.NET. ALGORITHM: This algorithm maintains two stacks. 1st stack for all operators … Continue reading

Posted in Algorithms | Tagged , , , , , , , , | 11 Comments