Pregunta de entrevista de Oracle

Reversing a binary tree and about backtracking.