Pregunta de entrevista de Google

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

Respuesta de la entrevista

Anónimo

1 ago 2013

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

2