Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

As you may notice, the stacks are one of the powerful ADT in programming and pro

ID: 3705838 • Letter: A

Question

As you may notice, the stacks are one of the powerful ADT in programming and program solving in computer science. For this discussion, first, please read Chapter 3.6.3 from your textbook carefully.

1) In this discussion, I want you to discuss the major applications and benefits of stacks in programming and computer science. When you are discussing the topic, please give solid explanation. For example, if you explain how stacks are being used for function calls particularly for recursion, please provide a little more information about it so that everyone can benefit from it.

2)Another issue that I want you to think about is the relation between the stacks and infix, prefix, postfix notations. What is the main advantage of using postfix notation over infix notation?

Explanation / Answer

Solution:

1)

2) We use postfix notation because of the reason that it is easy to evaluate it by using stack where the order of operators and operands is maintained and based on certain rules the expression is evaluated.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote