InterviewSolution
Saved Bookmarks
| 1. |
Which of the following data structure is used to convert postfix expression to infix expression?(a) Stack(b) Queue(c) Linked List(d) HeapMy query is from Application of Stacks in section Application of Stacks of Data Structures & Algorithms IThis question was addressed to me in a national level competition. |
|
Answer» CORRECT option is (a) Stack Best EXPLANATION: To convert the POSTFIX expression into INFIX expression we need stack. We need stack to maintain the intermediate infix expressions. We use stack to hold operands. |
|