Reverse a string or linked list using stack.
See complete series on data structures here:
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:
Reversal of linked list using recursion:
For practice problems and more, visit:
Like us on Facebook: