See complete series on data structures here:
http://www.youtube.com/playlist?list=PL2_aWCzGMAwI3W_JlcBbtYTwiQSsOTa6P
In this lesson, we have described how we can reverse a string or linked list using stack. Reversal is a simple application of stack.
To know about implicit stack, see this video:
http://www.youtube.com/watch?v=_8-ht2AKyH4
Reversal of linked list using recursion:
http://www.youtube.com/watch?v=KYH83T4q6Vs
For practice problems and more, visit: http://www.mycodeschool.com
Like us on Facebook: https://www.facebook.com/MyCodeSchool
Follow us on twitter: https://twitter.com/mycodeschool
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.