DEV Community

Jesus Gonzalez
Jesus Gonzalez

Posted on

1

Reverse the elements of a Singly Linked List using a Stack

Reverse the elements of a Singly Linked List using a Stack as an approach

It is not the most efficient way to solve this problem but it is good to know other ways to solve it by helping us with other data structures

https://play.golang.org/p/Obbq73zUrD2

Image description

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay