Pergunta de entrevista da empresa Google

Given a tree and leaf node, write the code to make the leaf node as root of tree.

Resposta da entrevista

Sigiloso

1 de ago. de 2013

Just reverse all links on the path from root to that leaf node

2