English

Which data structure is commonly used for conversion of infix expression to post or prefix expression? -

Advertisements
Advertisements

Question

Which data structure is commonly used for conversion of infix expression to post or prefix expression?

Options

  • Stack

  • Queue

  • Array

  • Linked list

MCQ

Solution

Stack

Explanation:

Stack is frequently used to convert infix expressions to post or prefix expressions.

shaalaa.com
Notations for Arithmetic Expressions
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×