Microsoft interview question

Set the pointer of every node in a binary tree to its right sibling.