About this document
Applications of Stacks in Algorithms by Vikas Saini is a document available to read on EtoBox.
This document discusses applications of stacks, including reversing strings, checking for palindromes, and evaluating expressions in postfix notation. Stacks can be used to reverse a string by pushing characters onto the stack and then popping them off. To check for a palindrome, characters are pushed onto a stack and then popped off and compared to the original string. Finally, postfix notation is evaluated using a stack by pushing operands and popping to apply operators, with the result pushed back onto t
- Author
- Vikas Saini
- Language
- EN