Implement reversing linked list between a range.