Given the head of a singly linked list, reverse the list and return the new head.
Practise this challenge
All coding challenges