Reverse a linked list from position m to n. Do it in-place and in one-pass.