Amazon Interview Question

Reverse and single linked list