Amazon Interview Question

Data structures trees etc and languages