Microsoft interview question

reverse linkedlist pairwise