Amazon interview question

All related to data structures