Reverse a doubly linked list

Problem Name:
Reverse a doubly linked list
Site:HackerRank
Links:
Tags:
Problem setters: