Microsoft interview question

Example: Reverse a subset of nodes in a doubly linked list.