Microsoft interview question

TREEs coding question and project review