Hertz interview question

Reverse a linkedlist and two sum