Amazon interview question

Solve a problem involving linked lists