Reverse a singly linked list
๐ This article was originally posted on my site, MihaiBojin.com. ๐
Given a reference to the head of a singly linked list, reverse it and return a reference to the head of the reversed list.
This is a simple problem that can be solved in a few wa...
mihai.hashnode.dev5 min read