Evaluate the following prefix expression " ++ 26 + - 1324"
Answer Posted / pallab datta
One operator is missing in this expression. There are six operands ( 2, 6, 1, 3, 2, 4 ) and four operators ( + , + , + , - ). The number of operators must be exactly 1 less than the number of operands to be a proper expression. Here the number of operator is 2 less than the number of operands. Hence evaluation of this expression is not possible.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Describe the complexity of Quick Sort
If you are given a choice to use either arraylist and linkedlist, which one would you use and why?
What does args stand for?
What is raid (redundant array of inexpensive disks)?
How do you check if a stack is empty or not?
Why do we use hashmap?
How are the elements of a 2d array are stored in the memory?
What is the application of queue?
What is selection in an algorithm?
Can the double-checked locking fail on a single processor system?
What are different types of sorting techniques?
Is array size dynamic or fixed?
Define quadratic probing?
What do you mean by structure property in a heap?
Define an algorithm.