Parenthesis is never required in postfix or prefix expressions, why?
Answer / Anil Kumar Gupta
In postfix and prefix notations, operators are placed after (in postfix) or before (in prefix) their operands. This eliminates the need for parentheses since the order of operations is already defined. In postfix notation, operators only require operands on either side, while in prefix notation, operators are written before all their operands.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why do we use hashmap?
What is meant by arraylist?
What is the difference between a stack and an array?
Why do we use a multidimensional array in data structure?
Which interface treemap implements?
Mention one advantage and disadvantage of using quadratic probing?
Convert following infix expression to the prefix expression. a - b + c * (d / e - (f + g))
33 Answers Amazon, Microsoft, Star Technologies, Sun Microsystems, Wipro,
Explain recursive function & what is the data structures used to perform recursion?
Explain the difference between a list and array.
Is binary tree a binary search tree?
How can you insert a node to the beginning of a singly linked list?
What are the different data structures?