Dissecting an interview question: reconstructing a tree | Hacker News Reader