Epic interview question

Some standard tree based algorithms