Plateron interview question

Oops, Data Structures, Algorithms, Tree Coding question