Solve the 'Reverse Linked List II' question