Amazon interview question

Data structure based programs