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:

Follow us on twitter:

Nguồn: https://freecode.com.vn

Xem thêm bài viết khác: https://freecode.com.vn/mobile

Share: