reverse a doubly linked list hackerrank python

join shbcf.ru