Proptiger interview question

String, tree,