-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse a string using stack. #576
Comments
Can I work on this issue ? |
Reverse a string using stack. #576
def createStack(): Function to determine the size of the stackdef size(stack): Stack is empty if the size is 0def isEmpty(stack): Function to add an item to stack .It increases size by 1def push(stack,item): #Function to remove an item from stack. It decreases size by 1def pop(stack): A stack based function to reverse a stringdef reverse(string):
Driver program to test above functionsstring="GeeksQuiz" |
#576 Added String reverse in c++ using stl stack
This is regarding the issue rathoresrikant#576 Used a simple linked list based stack implementation.
Reverses the given string using Stack Data Structure. This solves rathoresrikant#576
Programming language : Any
Directory : Data Structures/Stacks
The text was updated successfully, but these errors were encountered: