BlackRock Interview Question

Reverse a linked list in python