Pergunta de entrevista da empresa Microsoft

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