Skip to content
sneppets

sneppets

  • Privacy
Stack Example

Stack Example 1: Reverse a string or word

November 13, 2018December 8, 2018 Editorial StaffLeave a Comment on Stack Example 1: Reverse a string or word

In our previous article Stack Introduction and Implementation we had learnt how to implement stack in java. In this first example we will see how to reverse a word or a string using a stack. When you run the following code, it… Read More!

DS, Java reverse string, stack, stack example
Copyright © 2018 Sneppets. All Rights Reserved