Stack Applications in C++: Determining Palindromes
In this article I’m going to demonstrate how to use the Stack class from the C++ Standard Template Library (STL) to determine if a string is a palindrome. Let’s get started.
Stack Class Review
The Stack is a data structure that stores data using a Last-in, First-out data flow. What this means is that the last data stored in the stack is the…