Amazon interview question

Data structures trees etc and languages